org.xml.sax.ext

  • This page documents SAX2 extension interfaces and classes for handling additional XML information.

  • Interfaces like Attributes2, DeclHandler, EntityResolver2, LexicalHandler, and Locator2 extend core SAX2 functionality.

  • Helper classes such as Attributes2Impl, DefaultHandler2, and Locator2Impl provide default implementations for these extensions.

Interfaces

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

Classes

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.