|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.smila.datamodel.xml.StaxRecordReader
public class StaxRecordReader
StAX based Id reader. Should give better performance than the DOM based IdParser.
Constructor Summary | |
---|---|
StaxRecordReader()
create default instance. |
|
StaxRecordReader(DataFactory dataFactory)
|
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StaxRecordReader()
public StaxRecordReader(DataFactory dataFactory)
dataFactory
- data factory to use.Method Detail |
---|
public java.util.List<Record> readRecords(javax.xml.stream.XMLStreamReader staxReader) throws javax.xml.stream.XMLStreamException
staxReader
- source XML stream
javax.xml.stream.XMLStreamException
- StAX error.public Record readRecord(javax.xml.stream.XMLStreamReader staxReader) throws javax.xml.stream.XMLStreamException
staxReader
- source XML stream
javax.xml.stream.XMLStreamException
- StAX error.
|
SMILA (incubation) API documentation | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |