public class StaxRecordReader
extends java.lang.Object
| Constructor and Description |
|---|
StaxRecordReader()
create default instance.
|
StaxRecordReader(DataFactory dataFactory) |
| Modifier and Type | Method and Description |
|---|---|
Record |
readRecord(javax.xml.stream.XMLStreamReader staxReader)
read Record from the XML stream.
|
java.util.List<Record> |
readRecords(javax.xml.stream.XMLStreamReader staxReader)
read Record list from the XML stream.
|
public StaxRecordReader()
public StaxRecordReader(DataFactory dataFactory)
dataFactory - data factory to use.public java.util.List<Record> readRecords(javax.xml.stream.XMLStreamReader staxReader) throws javax.xml.stream.XMLStreamException
staxReader - source XML streamjavax.xml.stream.XMLStreamException - StAX error.public Record readRecord(javax.xml.stream.XMLStreamReader staxReader) throws javax.xml.stream.XMLStreamException
staxReader - source XML streamjavax.xml.stream.XMLStreamException - StAX error.