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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintintReturn the next state of the XMLReader.voidSkip 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, waitMethods 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:
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
-