| Package | Description | 
|---|---|
| javax.xml.transform.sax | 
 This package implements SAX2-specific transformation APIs. 
 | 
| org.xml.sax | 
  This package provides the core SAX APIs. 
 | 
| org.xml.sax.ext | 
 
This package contains interfaces to SAX2 facilities that
conformant SAX drivers won't necessarily support. 
 | 
| org.xml.sax.helpers | 
 This package contains "helper" classes, including
support for bootstrapping SAX-based applications. 
 | 
| Modifier and Type | Interface and Description | 
|---|---|
interface  | 
TransformerHandler
A TransformerHandler
 listens for SAX ContentHandler parse events and transforms
 them to a Result. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
HandlerBase
Deprecated. 
 
This class works with the deprecated
              
DocumentHandler
             interface.  It has been replaced by the SAX2
             DefaultHandler
             class. | 
| Modifier and Type | Method and Description | 
|---|---|
DTDHandler | 
XMLReader.getDTDHandler()
Return the current DTD handler. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
XMLReader.setDTDHandler(DTDHandler handler)
Allow an application to register a DTD event handler. 
 | 
void | 
Parser.setDTDHandler(DTDHandler handler)
Deprecated.  
Allow an application to register a DTD event handler. 
 | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DefaultHandler2
This class extends the SAX2 base handler class to support the
 SAX2  
LexicalHandler, DeclHandler, and
 EntityResolver2 extensions. | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
DefaultHandler
Default base class for SAX2 event handlers. 
 | 
class  | 
XMLFilterImpl
Base class for deriving an XML filter. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
DTDHandler | 
ParserAdapter.getDTDHandler()
Return the current DTD handler. 
 | 
DTDHandler | 
XMLFilterImpl.getDTDHandler()
Get the current DTD event handler. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ParserAdapter.setDTDHandler(DTDHandler handler)
Set the DTD handler. 
 | 
void | 
XMLFilterImpl.setDTDHandler(DTDHandler handler)
Set the DTD event handler. 
 | 
void | 
XMLReaderAdapter.setDTDHandler(DTDHandler handler)
Register the DTD event handler. 
 | 
 Submit a bug or feature 
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
 Copyright © 1993, 2016, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.