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
public abstract class XMLReaderBase extends Object implements XMLReader
A base class for XMLReader implementations.
It provides the implementation of some derived XMLReader methods.
- Author:
- JAX-RPC Development Team
-
-
Constructor Summary
Constructors Constructor Description XMLReaderBase()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description intnextContent()intnextElementContent()Return the next state of the XMLReader.voidskipElement()Skip all nodes up to the end tag of the element with the current element ID.abstract voidskipElement(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
-
-
-
-
Method Detail
-
nextContent
public int nextContent()
- Specified by:
nextContentin interfaceXMLReader
-
nextElementContent
public int nextElementContent()
Description copied from interface:XMLReaderReturn 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:
nextElementContentin interfaceXMLReader
-
skipElement
public void skipElement()
Description copied from interface:XMLReaderSkip all nodes up to the end tag of the element with the current element ID.- Specified by:
skipElementin interfaceXMLReader
-
skipElement
public abstract void skipElement(int elementId)
Description copied from interface:XMLReaderSkip all nodes up to the end tag of the element with the given element ID.- Specified by:
skipElementin interfaceXMLReader
-
-