JADE v6.1

Package com.dautelle.xml.sax

Provides a XML RealtimeParser which does not create objects dynamically; this parser runs on average 2-3x faster than (the fastest) conventional SAX2 parser.

See:
          Description

Interface Summary
Attributes This interface represents a list of XML attributes.
ContentHandler Receives notification of the logical content of a document.
 

Class Summary
DefaultHandler Default base class for real-time handling of XML events.
RealtimeParser This class provides a real-time SAX2-like XML parser; this parser is extremely fast and does not create temporary objects (no garbage generated and no GC interruption).
SAXParserFactoryImpl This class represents the JAXP factory class for creating SAX parsers.
XMLReaderImpl This class provides a SAX2-compliant parser wrapping a RealtimeParser.
 

Package com.dautelle.xml.sax Description

Provides a XML RealtimeParser which does not create objects dynamically; this parser runs on average 2-3x faster than (the fastest) conventional SAX2 parser.

In order to avoid String allocation, the SAX2 interface classes had to be slightly modified with String being replaced by CharSequence.

Because of these changes RealtimeParser is not SAX2 compliant. If a SAX2 or a JAXP parser is required, you may consider using the wrapping class XMLReaderImpl (fast but allocates temporary String objects).


JADE v6.1

Copyright © 2004 Jean-Marie Dautelle.