This is a thin layer on top of a SAX parser. The key concept necessary to understand this parser is Element Handler. Element handlers are type-specific parsers. Each handler instance contains an instance of the Java type corresponding to the XML type it parses. At any given time, one handler is active, and zero or more handlers are kept on the stack. This corresponds directly to the set of currently opened XML tags.
To use this parser, one must define an {@link XmlParser.ElementHandler} type (usually one per XML schema type),specify the root element handler, and pass a reader to the {@link #parse(Reader,com.google.gdata.util.XmlParser.ElementHandler,String,String)} method.
@see XmlParser.ElementHandler
|
|
|
|
|
|