java.lang.Object | ||
↳ | com.thoughtworks.xstream.io.xml.AbstractXmlReader | |
↳ | com.thoughtworks.xstream.io.xml.AbstractPullReader |
Known Direct Subclasses |
Base class that contains common functionality across HierarchicalStreamReader implementations that need to read from a pull parser.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | COMMENT | ||||||||||
int | END_NODE | ||||||||||
int | OTHER | ||||||||||
int | START_NODE | ||||||||||
int | TEXT |
Protected Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Pull the name of the current element from the stream.
| |||||||||||
Pull the next event from the stream.
| |||||||||||
Pull the contents of the current text node from the stream.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.thoughtworks.xstream.io.xml.AbstractXmlReader
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
com.thoughtworks.xstream.io.HierarchicalStreamReader
| |||||||||||
From interface
com.thoughtworks.xstream.io.xml.XmlFriendlyReader
|
Pull the next event from the stream.
This MUST return START_NODE
, END_NODE
, TEXT
, COMMENT
,
OTHER
or throw StreamException
.
The underlying pull parser will most likely return its own event types. These must be mapped to the appropriate events.