org.xml.sax
Stay organized with collections
Save and categorize content based on your preferences.
Interfaces
AttributeList |
This interface is deprecated.
This interface has been replaced by the SAX2
Attributes
interface, which includes Namespace support. |
Attributes |
Interface for a list of XML attributes. |
ContentHandler |
Receive notification of the logical content of a document. |
DocumentHandler |
This interface is deprecated.
This interface has been replaced by the SAX2
ContentHandler
interface, 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. |
Locator |
Interface for associating a SAX event with a document location. |
Parser |
This interface is deprecated.
This interface has been replaced by the SAX2
XMLReader
interface, which includes Namespace support. |
XMLFilter |
Interface for an XML filter. |
XMLReader |
Interface for reading an XML document using callbacks. |
Classes
Exceptions
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-07-10 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-07-10 UTC."],[[["This document lists the core interfaces, classes, and exceptions that comprise the SAX API for processing XML in Java."],["Several legacy interfaces and classes (like `AttributeList`, `DocumentHandler`, `Parser`, and `HandlerBase`) are now deprecated in favor of their SAX2 counterparts with Namespace support."],["Key interfaces like `XMLReader`, `ContentHandler`, and `Attributes` facilitate reading XML documents and handling their content and attributes."],["Error handling is managed through the `ErrorHandler` interface and specific exception types like `SAXException` and `SAXParseException`."],["`InputSource` facilitates specifying the source of an XML entity, while features like `Locator` and `XMLFilter` add to SAX's processing capabilities."]]],["The core content defines interfaces, classes, and exceptions for SAX (Simple API for XML) processing. Key interfaces include `Attributes` for XML attributes, `ContentHandler` for document content, `DTDHandler` for DTD events, `EntityResolver` for entity resolution, `ErrorHandler` for errors, `XMLFilter` for filtering, and `XMLReader` for reading XML. `InputSource` is a class for XML entities. `SAXException`, `SAXNotRecognizedException`, `SAXNotSupportedException`, and `SAXParseException` represent various error types. Some interfaces and classes are deprecated, replaced by SAX2 versions.\n"]]