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 Details

    • XMLReaderBase

      public XMLReaderBase()
  • Method Details

    • nextContent

      public int nextContent()
      Specified by:
      nextContent in interface XMLReader
    • 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 interface XMLReader
    • 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 interface XMLReader
    • 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 interface XMLReader