| Package | Description | 
|---|---|
| java.beans | Contains classes related to developing
beans -- components
based on the JavaBeans™ architecture. | 
| javax.xml.bind | 
        Provides a runtime binding framework for client applications including
        unmarshalling, marshalling, and validation capabilities. | 
| javax.xml.bind.helpers | 
        JAXB Provider Use Only: Provides partial default implementations for 
        some of the javax.xml.bind interfaces. | 
| javax.xml.parsers | 
                Provides classes allowing the processing of XML documents. | 
| javax.xml.transform.sax | This package implements SAX2-specific transformation APIs. | 
| javax.xml.validation | 
                    This package provides an API for validation of XML documents. | 
| javax.xml.xpath | This package provides an object-model neutral API for the
evaluation of XPath expressions and access to the evaluation
environment. | 
| 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. | 
| Class and Description | 
|---|
| InputSource A single input source for an XML entity. | 
| Class and Description | 
|---|
| ContentHandler Receive notification of the logical content of a document. | 
| InputSource A single input source for an XML entity. | 
| Class and Description | 
|---|
| ContentHandler Receive notification of the logical content of a document. | 
| InputSource A single input source for an XML entity. | 
| Locator Interface for associating a SAX event with a document location. | 
| SAXException Encapsulate a general SAX error or warning. | 
| SAXParseException Encapsulate an XML parse error or warning. | 
| XMLReader Interface for reading an XML document using callbacks. | 
| Class and Description | 
|---|
| EntityResolver Basic interface for resolving entities. | 
| ErrorHandler Basic interface for SAX error handlers. | 
| HandlerBase Deprecated. 
 This class works with the deprecated
              DocumentHandlerinterface.  It has been replaced by the SAX2DefaultHandlerclass. | 
| InputSource A single input source for an XML entity. | 
| Parser Deprecated. 
 This interface has been replaced by the SAX2
              XMLReaderinterface, which includes Namespace support. | 
| SAXException Encapsulate a general SAX error or warning. | 
| SAXNotRecognizedException Exception class for an unrecognized identifier. | 
| SAXNotSupportedException Exception class for an unsupported operation. | 
| XMLReader Interface for reading an XML document using callbacks. | 
| Class and Description | 
|---|
| ContentHandler Receive notification of the logical content of a document. | 
| DTDHandler Receive notification of basic DTD-related events. | 
| InputSource A single input source for an XML entity. | 
| XMLFilter Interface for an XML filter. | 
| XMLReader Interface for reading an XML document using callbacks. | 
| Class and Description | 
|---|
| ContentHandler Receive notification of the logical content of a document. | 
| ErrorHandler Basic interface for SAX error handlers. | 
| SAXException Encapsulate a general SAX error or warning. | 
| SAXNotRecognizedException Exception class for an unrecognized identifier. | 
| SAXNotSupportedException Exception class for an unsupported operation. | 
| Class and Description | 
|---|
| InputSource A single input source for an XML entity. | 
| Class and Description | 
|---|
| AttributeList Deprecated. 
 This interface has been replaced by the SAX2
              Attributesinterface, which includes Namespace support. | 
| Attributes Interface for a list of XML attributes. | 
| ContentHandler Receive notification of the logical content of a document. | 
| DocumentHandler Deprecated. 
 This interface has been replaced by the SAX2
              ContentHandlerinterface, which includes Namespace support. | 
| DTDHandler Receive notification of basic DTD-related events. | 
| EntityResolver Basic interface for resolving entities. | 
| ErrorHandler Basic interface for SAX error handlers. | 
| InputSource A single input source for an XML entity. | 
| Locator Interface for associating a SAX event with a document location. | 
| SAXException Encapsulate a general SAX error or warning. | 
| SAXNotRecognizedException Exception class for an unrecognized identifier. | 
| SAXNotSupportedException Exception class for an unsupported operation. | 
| SAXParseException Encapsulate an XML parse error or warning. | 
| XMLReader Interface for reading an XML document using callbacks. | 
| Class and Description | 
|---|
| Attributes Interface for a list of XML attributes. | 
| ContentHandler Receive notification of the logical content of a document. | 
| DTDHandler Receive notification of basic DTD-related events. | 
| EntityResolver Basic interface for resolving entities. | 
| ErrorHandler Basic interface for SAX error handlers. | 
| InputSource A single input source for an XML entity. | 
| Locator Interface for associating a SAX event with a document location. | 
| SAXException Encapsulate a general SAX error or warning. | 
| Class and Description | 
|---|
| AttributeList Deprecated. 
 This interface has been replaced by the SAX2
              Attributesinterface, which includes Namespace support. | 
| Attributes Interface for a list of XML attributes. | 
| ContentHandler Receive notification of the logical content of a document. | 
| DocumentHandler Deprecated. 
 This interface has been replaced by the SAX2
              ContentHandlerinterface, which includes Namespace support. | 
| DTDHandler Receive notification of basic DTD-related events. | 
| EntityResolver Basic interface for resolving entities. | 
| ErrorHandler Basic interface for SAX error handlers. | 
| InputSource A single input source for an XML entity. | 
| Locator Interface for associating a SAX event with a document location. | 
| Parser Deprecated. 
 This interface has been replaced by the SAX2
              XMLReaderinterface, which includes Namespace support. | 
| SAXException Encapsulate a general SAX error or warning. | 
| SAXNotRecognizedException Exception class for an unrecognized identifier. | 
| SAXNotSupportedException Exception class for an unsupported operation. | 
| SAXParseException Encapsulate an XML parse error or warning. | 
| XMLFilter Interface for an XML filter. | 
| XMLReader Interface for reading an XML document using callbacks. | 
 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.