Package com.sun.xml.rpc.streaming
Class XMLReaderBase
java.lang.Object
com.sun.xml.rpc.streaming.XMLReaderBase
- All Implemented Interfaces:
XMLReader
- Direct Known Subclasses:
RecordedXMLReader
,StAXReader
,XMLReaderImpl
,XmlTreeReader
A base class for XMLReader implementations.
It provides the implementation of some derived XMLReader methods.
- Author:
- JAX-RPC Development Team
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
int
Return the next state of the XMLReader.void
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.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.sun.xml.rpc.streaming.XMLReader
close, getAttributes, getElementId, getLineNumber, getLocalName, getName, getPrefixes, getState, getURI, getURI, getValue, next, recordElement
-
Constructor Details
-
XMLReaderBase
public XMLReaderBase()
-
-
Method Details
-
nextContent
public int nextContent()- Specified by:
nextContent
in interfaceXMLReader
-
nextElementContent
public int nextElementContent()Description copied from interface:XMLReader
Return the next state of the XMLReader.Whitespace character content, processing instructions are ignored. Non-whitespace character content triggers an exception.
The return value is one of: START, END, EOF.
- Specified by:
nextElementContent
in interfaceXMLReader
-
skipElement
public void skipElement()Description copied from interface:XMLReader
Skip all nodes up to the end tag of the element with the current element ID.- Specified by:
skipElement
in interfaceXMLReader
-
skipElement
public abstract void skipElement(int elementId) Description copied from interface:XMLReader
Skip all nodes up to the end tag of the element with the given element ID.- Specified by:
skipElement
in interfaceXMLReader
-