Java™ Platform
Standard Ed. 6

Package org.xml.sax.ext

This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support.

See:
          Description

Interface Summary
Attributes2 SAX2 extension to augment the per-attribute information provided though Attributes.
DeclHandler SAX2 extension handler for DTD declaration events.
EntityResolver2 Extended interface for mapping external entity references to input sources, or providing a missing external subset.
LexicalHandler SAX2 extension handler for lexical events.
Locator2 SAX2 extension to augment the entity information provided though a Locator.
 

Class Summary
Attributes2Impl SAX2 extension helper for additional Attributes information, implementing the Attributes2 interface.
DefaultHandler2 This class extends the SAX2 base handler class to support the SAX2 LexicalHandler, DeclHandler, and EntityResolver2 extensions.
Locator2Impl SAX2 extension helper for holding additional Entity information, implementing the Locator2 interface.
 

Package org.xml.sax.ext Description

This package contains interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support.

See http://www.saxproject.org for more information about SAX.

This package is independent of the SAX2 core, though the functionality exposed generally needs to be implemented within a parser core. That independence has several consequences:

This package, SAX2-ext, is a standardized extension to SAX2. It is designed both to allow SAX parsers to pass certain types of information to applications, and to serve as a simple model for other SAX2 parser extension packages. Not all such extension packages should need to be recognized directly by parsers, however. As an example, most validation systems can be cleanly layered on top of parsers supporting the standardized SAX2 interfaces.


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.