com.ricebridge.xmlman.test
Class CallSequenceTest.SequenceRecordProvider

java.lang.Object
  extended bycom.ricebridge.xmlman.RecordProviderSupport
      extended bycom.ricebridge.xmlman.StringListRecordProvider
          extended bycom.ricebridge.xmlman.test.CallSequenceTest.SequenceRecordProvider
All Implemented Interfaces:
RecordProvider
Enclosing class:
CallSequenceTest

public class CallSequenceTest.SequenceRecordProvider
extends StringListRecordProvider


Field Summary
 
Fields inherited from class com.ricebridge.xmlman.StringListRecordProvider
iData, iRecordIndex
 
Fields inherited from class com.ricebridge.xmlman.RecordProviderSupport
iFieldNames
 
Constructor Summary
CallSequenceTest.SequenceRecordProvider(List pData, StringBuffer pSequence)
           
CallSequenceTest.SequenceRecordProvider(List pData, StringBuffer pSequence, boolean pHasFailures)
           
 
Method Summary
protected  void endProcessImpl()
          Implement this method to receive notification that the saving of XML data has ended.
 boolean hasNextRecordImpl()
          Check if there are any more records.
 String[] nextRecordImpl()
          Return next data record as a String[] array.
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()
          Start the saving process.
 
Methods inherited from class com.ricebridge.xmlman.StringListRecordProvider
setData
 
Methods inherited from class com.ricebridge.xmlman.RecordProviderSupport
endProcess, hasNextRecord, nextRecord, setFieldNames, setXmlSpec, startProcess
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CallSequenceTest.SequenceRecordProvider

public CallSequenceTest.SequenceRecordProvider(List pData,
                                               StringBuffer pSequence)

CallSequenceTest.SequenceRecordProvider

public CallSequenceTest.SequenceRecordProvider(List pData,
                                               StringBuffer pSequence,
                                               boolean pHasFailures)
Method Detail

setXmlSpecImpl

protected void setXmlSpecImpl(XmlSpec pXmlSpec)
Description copied from class: RecordProviderSupport
Implement this method to receive the current XmlSpec settings.

This method is optional for subclasses, as an empty implementation is provided here.

Overrides:
setXmlSpecImpl in class RecordProviderSupport
Parameters:
pXmlSpec - XML specification
See Also:
RecordProviderSupport.setXmlSpec(com.ricebridge.xmlman.XmlSpec), RecordProvider.setXmlSpec(com.ricebridge.xmlman.XmlSpec)

setFieldNamesImpl

protected void setFieldNamesImpl(String[] pFieldNames)
Description copied from class: RecordProviderSupport
Implement this method to obtain the record specification field names, if available.

The default implementation stores the field names in the RecordProviderSupport.iFieldNames member variable. This method is optional for subclasses, as an implementation is provided here.

Overrides:
setFieldNamesImpl in class RecordProviderSupport
Parameters:
pFieldNames - record field names
See Also:
RecordProviderSupport.setFieldNames(java.lang.String[]), RecordProvider.setFieldNames(java.lang.String[])

startProcessImpl

protected void startProcessImpl()
Description copied from class: StringListRecordProvider
Start the saving process.

Overrides:
startProcessImpl in class StringListRecordProvider

endProcessImpl

protected void endProcessImpl()
Description copied from class: RecordProviderSupport
Implement this method to receive notification that the saving of XML data has ended.

This method is optional for subclasses, as an empty implementation is provided here.

Overrides:
endProcessImpl in class RecordProviderSupport
See Also:
RecordProviderSupport.endProcess(), RecordProvider.endProcess()

hasNextRecordImpl

public boolean hasNextRecordImpl()
Description copied from class: StringListRecordProvider
Check if there are any more records.

Overrides:
hasNextRecordImpl in class StringListRecordProvider

nextRecordImpl

public String[] nextRecordImpl()
Description copied from class: StringListRecordProvider
Return next data record as a String[] array.

Overrides:
nextRecordImpl in class StringListRecordProvider


Copyright © 2004-2005 Ricebridge