Class StreamingParserImpl


  • public final class StreamingParserImpl
    extends StreamingParser
    A demand-driven streaming parser implementation.
    Author:
    Zhenghua Li, JAX-RPC RI Development Team
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int column()
      Returns the column number of the current component, or -1 if the column number is not known.
      String describe​(boolean articleNeeded)
      Constructs a string describing the current state of this parser, suitable for use in an error message or an exception detail string.
      boolean isCoalescing()
      Returns the coalescing property of this parser.
      boolean isNamespaceAware()
      Returns the namespaceAware property of this parser.
      boolean isValidating()
      Returns the validating property of this parser.
      int line()
      Returns the line number of the current component, or -1 if the line number is not known.
      String name()
      Returns a name string whose meaning depends upon the current state.
      int parse()
      Parses the next component of the document being parsed.
      String publicId()
      Returns the public identifer of the document being parsed, or null if it has none.
      int state()
      Returns the current state of the parser.
      String systemId()
      Returns the system identifer of the document being parsed, or null if it has none.
      String uriString()
      Returns the URI string of the current component.
      String value()
      Returns a value string whose meaning depends upon the current state.