|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.xmlman.RecordListenerSupport
com.ricebridge.xmlman.test.CallSequenceTest.SequenceRecordListener
| Field Summary |
| Fields inherited from class com.ricebridge.xmlman.RecordListenerSupport |
iFieldNames |
| Constructor Summary | |
CallSequenceTest.SequenceRecordListener(StringBuffer pSequence)
|
|
CallSequenceTest.SequenceRecordListener(StringBuffer pSequence,
boolean pHasFailures)
|
|
CallSequenceTest.SequenceRecordListener(StringBuffer pSequence,
CallSequenceTest.BadRecordContext pBRC)
|
|
CallSequenceTest.SequenceRecordListener(StringBuffer pSequence,
CallSequenceTest.BadRecordContext pBRC,
boolean pHasFailures)
|
|
| Method Summary | |
protected void |
endProcessImpl()
Implement this method to receive notification that the saving of XML data has ended. |
BadRecord |
handleRecordImpl(String[] pRecord,
long pRecordNumber)
Implement this method to receive record data as it parsed. |
protected void |
setFieldNamesImpl(String[] pFieldNames)
Implement this method to obtain the record specification field names, if available. |
protected void |
setXmlSpecImpl(XmlSpec pXmlSpec)
Implement this method to receive the current XmlSpec settings. |
protected void |
startProcessImpl()
Implement this method to receive notification that the saving of XML data is about to start. |
| Methods inherited from class com.ricebridge.xmlman.RecordListenerSupport |
endProcess, handleRecord, setFieldNames, setXmlSpec, startProcess |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public CallSequenceTest.SequenceRecordListener(StringBuffer pSequence)
public CallSequenceTest.SequenceRecordListener(StringBuffer pSequence,
boolean pHasFailures)
public CallSequenceTest.SequenceRecordListener(StringBuffer pSequence,
CallSequenceTest.BadRecordContext pBRC)
public CallSequenceTest.SequenceRecordListener(StringBuffer pSequence,
CallSequenceTest.BadRecordContext pBRC,
boolean pHasFailures)
| Method Detail |
protected void setXmlSpecImpl(XmlSpec pXmlSpec)
RecordListenerSupportXmlSpec settings.
This method is optional for subclasses, as an empty implementation is provided here.
setXmlSpecImpl in class RecordListenerSupportpXmlSpec - XML specificationRecordListenerSupport.setXmlSpec(com.ricebridge.xmlman.XmlSpec),
RecordListener.setXmlSpec(com.ricebridge.xmlman.XmlSpec)protected void setFieldNamesImpl(String[] pFieldNames)
RecordListenerSupportThe default implementation stores the field names in the RecordListenerSupport.iFieldNames member variable.
This method is optional for subclasses, as an implementation is provided here.
setFieldNamesImpl in class RecordListenerSupportpFieldNames - data record field namesRecordListenerSupport.setFieldNames(java.lang.String[]),
RecordListener.setFieldNames(java.lang.String[])protected void startProcessImpl()
RecordListenerSupportThis method is optional for subclasses, as an empty implementation is provided here.
startProcessImpl in class RecordListenerSupportRecordListenerSupport.startProcess(),
RecordListener.startProcess()protected void endProcessImpl()
RecordListenerSupportThis method is optional for subclasses, as an empty implementation is provided here.
endProcessImpl in class RecordListenerSupportRecordListenerSupport.endProcess(),
RecordListener.endProcess()
public BadRecord handleRecordImpl(String[] pRecord,
long pRecordNumber)
RecordListenerSupportThe record number is specific to each RecordSpec.
This method must be implemented by subclasses.
handleRecordImpl in class RecordListenerSupportpRecord - record data as a String[]pRecordNumber - current count of recordsRecordListenerSupport.handleRecord(java.lang.String[], long),
RecordListener.handleRecord(java.lang.String[], long)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||