|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.jmonks.batch.io.Record
org.jmonks.batch.io.ReaderRecord
org.jmonks.batch.io.xml.XMLFileReader.XMLReaderRecord
XMLReaderRecord implements ReaderRecord by maintaing the field names and values as a map and provides the methods with proper access privileges to read into and write from the record. It provides the additional method to conveniently read the data from the record.
| Method Summary | |
ReaderRecord |
readComplexElement(java.lang.String elementName)
Expectes the element as a nested/composite element and returns it as a reader record. |
java.lang.Object |
readField(java.lang.String fieldName)
Reads the values associated with the given field name and returns. |
java.util.List |
readRepeatElement(java.lang.String elementName)
Expectes the element as repeated element and returns it as a list. |
java.lang.String |
readSimpleElement(java.lang.String elementName)
Expectes the element as a simple element and returns it as a string. |
java.lang.String |
toString()
|
| Methods inherited from class org.jmonks.batch.io.Record |
getRecordType |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
public java.lang.Object readField(java.lang.String fieldName)
readField in class ReaderRecordfieldName - Name of the element.
public java.lang.String readSimpleElement(java.lang.String elementName)
elementName - Name of the simple element.
public ReaderRecord readComplexElement(java.lang.String elementName)
elementName - Name of the nested/composite element.
public java.util.List readRepeatElement(java.lang.String elementName)
elementName - Name of the repeated element.
public java.lang.String toString()
Object.toString()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||