Class PrologParser

  • All Implemented Interfaces:
    java.lang.Cloneable

    public class PrologParser
    extends java.lang.Object
    implements java.lang.Cloneable
    Parses the prolog of an XML document. A PrologParser object represents the state of a parse of the prolog. It operates on the tokens returned by Tokenizer.tokenizeProlog. It does not build any data structures to represent the information in the prolog; instead it tells the caller the action needed for each token. The state of the parse can be saved by using the clone method.