public abstract class XMLReaderBase extends Object implements XMLReader
A base class for XMLReader implementations.
It provides the implementation of some derived XMLReader methods.
| Constructor and Description |
|---|
XMLReaderBase() |
| Modifier and Type | Method and Description |
|---|---|
int |
nextContent() |
int |
nextElementContent()
Return the next state of the XMLReader.
|
void |
skipElement()
Skip all nodes up to the end tag of the element with the current element ID.
|
abstract void |
skipElement(int elementId)
Skip all nodes up to the end tag of the element with the given element ID.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitclose, getAttributes, getElementId, getLineNumber, getLocalName, getName, getPrefixes, getState, getURI, getURI, getValue, next, recordElementpublic int nextContent()
nextContent in interface XMLReaderpublic int nextElementContent()
XMLReaderWhitespace character content, processing instructions are ignored. Non-whitespace character content triggers an exception.
The return value is one of: START, END, EOF.
nextElementContent in interface XMLReaderpublic void skipElement()
XMLReaderskipElement in interface XMLReaderpublic abstract void skipElement(int elementId)
XMLReaderskipElement in interface XMLReaderCopyright © 2017–2019 Eclipse Foundation. All rights reserved.