|
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.record.stax.RecordReader
public class RecordReader
StAX based Id reader. Should give better performance than the DOM based IdParser.
| Constructor Summary | |
|---|---|
RecordReader()
create default instance. |
|
RecordReader(RecordFactory recordFactory,
IdFactory idFactory)
|
|
| 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 RecordReader()
public RecordReader(RecordFactory recordFactory,
IdFactory idFactory)
recordFactory - record factory to use.idFactory - Id 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 | ||||||||