Difference from SAX
An event stream can be thought of encapsulating SAX events. It applies an iterator/pull metaphor to the parser allowing procedural, stream-based, handling of input XML rather than having to write chained event handlers to handle complex XML documents.
Difference from DOM
The pull metaphor allows single-pass, stream-based parsing of the document rather than tree based manipulation.
@since XMLInputStream 1.0 @version 1.0 @see weblogic.xml.stream.XMLEvent @see weblogic.xml.stream.CharacterData @see weblogic.xml.stream.ProcessingInstruction @see weblogic.xml.stream.StartElement @see weblogic.xml.stream.EndElement @see weblogic.xml.stream.CharacterData @see weblogic.xml.stream.XMLName
|
|