Package org.xml.sax.ext
See: Description
-
Interface Summary Interface Description Attributes2 SAX2 extension to augment the per-attribute information provided thoughAttributes
.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 aLocator
. -
Class Summary Class Description Attributes2Impl SAX2 extension helper for additional Attributes information, implementing theAttributes2
interface.DefaultHandler2 This class extends the SAX2 base handler class to support the SAX2LexicalHandler
,DeclHandler
, andEntityResolver2
extensions.Locator2Impl SAX2 extension helper for holding additional Entity information, implementing theLocator2
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:
- SAX2 drivers are not required to recognize these handlers.
- You cannot assume that the class files will be present in every SAX2 installation.
- This package may be updated independently of SAX2 (i.e. new handlers and classes may be added without updating SAX2 itself).
- The new handlers are not implemented by the SAX2
org.xml.sax.helpers.DefaultHandler
ororg.xml.sax.helpers.XMLFilterImpl
classes. You can subclass these if you need such behavior, or use the helper classes found here. - The handlers need to be registered differently than core SAX2 handlers.
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.
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-org/xml/sax/ext/package-summary.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.