Deprecated
as a consequence of AbstractPullReader being deprecated. See corresponding docs for further information.
| Modifier and Type | Field and Description |
|---|---|
| private final XMLStreamReader | |
| private final QNameMap |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | StaxReader(QNameMap qnameMap, XMLStreamReader in, XmlFriendlyReplacer replacer)
Deprecated
As of 1.4 use
StaxReader#StaxReader(QNameMap, XMLStreamReader, NameCoder) instead.
|
| Modifier and Type | Method and Description |
|---|---|
| public void | appendErrors(ErrorWriter
the error writer errorWriter)Implements com. |
| public void | close()
Implements com. |
| public String | getAttribute(String name)
Implements com. |
| public String | getAttribute(int index)
Implements com. |
| public int | getAttributeCount()
Implements com. |
| public String | getAttributeName(int index)
Implements com. |
| protected String | pullElementName()
Implements abstract com. |
| protected int | pullNextEvent()
Implements abstract com. |
| protected String | pullText()
Implements abstract com. |
| in | back to summary |
|---|---|
| private final XMLStreamReader in | |
| qnameMap | back to summary |
|---|---|
| private final QNameMap qnameMap | |
| StaxReader | back to summary |
|---|---|
| public StaxReader(QNameMap qnameMap, XMLStreamReader in) | |
| StaxReader | back to summary |
|---|---|
public StaxReader(QNameMap qnameMap, XMLStreamReader in, NameCoder replacer)
| |
| StaxReader | back to summary |
|---|---|
| public StaxReader(QNameMap qnameMap, XMLStreamReader in, XmlFriendlyReplacer replacer)
Deprecated As of 1.4 use
| |
| appendErrors | back to summary |
|---|---|
| public void appendErrors(ErrorWriter errorWriter) Implements com. Doc from com. If any errors are detected, allow the reader to add any additional information that can aid debugging (such as line numbers, XPath expressions, etc).
| |
| close | back to summary |
|---|---|
| public void close() Implements com. Doc from com. Close the reader, if necessary. | |
| getAttribute | back to summary |
|---|---|
| public String getAttribute(String name) Implements com. Doc from com. Get the value of an attribute of the current node. If no such attribute exists, the method returns null. | |
| getAttribute | back to summary |
|---|---|
| public String getAttribute(int index) Implements com. Doc from com. Get the value of an attribute of the current node, by index. Note, the behavior of this method is dependent on the underlying parser when calling it with a non-existing index. Typically some kind of RuntimeException is thrown. | |
| getAttributeCount | back to summary |
|---|---|
| public int getAttributeCount() Implements com. Doc from com. Number of attributes in current node. | |
| getAttributeName | back to summary |
|---|---|
| public String getAttributeName(int index) Implements com. Doc from com. Name of attribute in current node. Note, the behavior of this method is dependent on the underlying parser when calling it with a non-existing index. Typically some kind of RuntimeException is thrown. | |
| pullElementName | back to summary |
|---|---|
| protected String pullElementName() Implements abstract com. Doc from com. Pull the name of the current element from the stream. | |
| pullNextEvent | back to summary |
|---|---|
| protected int pullNextEvent() Implements abstract com. Doc from com. Pull the next event from the stream. This MUST return The underlying pull parser will most likely return its own event types. These must be mapped to the appropriate events. | |
| pullText | back to summary |
|---|---|
| protected String pullText() Implements abstract com. Doc from com. Pull the contents of the current text node from the stream. | |