|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectcom.ricebridge.xmlman.RecordProviderSupport
com.ricebridge.xmlman.test.PerformanceTestFileMaker.RandomValueRecordProvider
Provides random values as data for saving.
| Field Summary | |
static char[] |
sChars
|
| Fields inherited from class com.ricebridge.xmlman.RecordProviderSupport |
iFieldNames |
| Constructor Summary | |
PerformanceTestFileMaker.RandomValueRecordProvider(long pNumRecords)
|
|
| Method Summary | |
protected void |
endProcessImpl()
Implement this method to receive notification that the saving of XML data has ended. |
protected boolean |
hasNextRecordImpl()
Return true if there are more data records to save. |
char |
makeRandomChar()
|
String |
makeRandomString()
|
String[] |
nextRecordImpl()
Indicates that the next data record is to be saved. |
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.RecordProviderSupport |
endProcess, hasNextRecord, nextRecord, setFieldNames, setFieldNamesImpl, setXmlSpec, setXmlSpecImpl, startProcess |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static final char[] sChars
| Constructor Detail |
public PerformanceTestFileMaker.RandomValueRecordProvider(long pNumRecords)
| Method Detail |
protected void startProcessImpl()
RecordProviderSupportThis method is optional for subclasses, as an empty implementation is provided here.
startProcessImpl in class RecordProviderSupportRecordProviderSupport.startProcess(),
RecordProvider.startProcess()protected void endProcessImpl()
RecordProviderSupportThis method is optional for subclasses, as an empty implementation is provided here.
endProcessImpl in class RecordProviderSupportRecordProviderSupport.endProcess(),
RecordProvider.endProcess()protected boolean hasNextRecordImpl()
RecordProviderSupporttrue if there are more data records to save.
This method must be implemented by subclasses.
hasNextRecordImpl in class RecordProviderSupportRecordProviderSupport.hasNextRecord(),
RecordProvider.hasNextRecord()public String[] nextRecordImpl()
RecordProviderSupportThis method must be implemented by subclasses.
nextRecordImpl in class RecordProviderSupportRecordProviderSupport.nextRecord(),
RecordProvider.nextRecord()public char makeRandomChar()
public String makeRandomString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||