| Package | Description | 
|---|---|
| javax.xml.transform.sax | This package implements SAX2-specific transformation APIs. | 
| org.xml.sax.ext | 
This package contains interfaces to SAX2 facilities that
conformant SAX drivers won't necessarily support. | 
| Modifier and Type | Interface | Description | 
|---|---|---|
| interface  | TransformerHandlerA TransformerHandler
 listens for SAX ContentHandler parse events and transforms
 them to a Result. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| LexicalHandler | SAXResult. getLexicalHandler()Get a SAX2  LexicalHandlerfor the output. | 
| Modifier and Type | Method | Description | 
|---|---|---|
| void | SAXResult. setLexicalHandler(LexicalHandler handler)Set the SAX2  LexicalHandlerfor the output. | 
| Modifier and Type | Class | Description | 
|---|---|---|
| class  | DefaultHandler2This class extends the SAX2 base handler class to support the
 SAX2  LexicalHandler,DeclHandler, andEntityResolver2extensions. | 
 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, 2025, Oracle and/or its affiliates.  All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.