org.xml.sax.helpers
Stay organized with collections
Save and categorize content based on your preferences.
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."],[[["\u003cp\u003eThis page provides a list of helper classes for SAX (Simple API for XML) parsing in Java.\u003c/p\u003e\n"],["\u003cp\u003eSeveral classes offer default implementations or adaptations for core SAX interfaces like Attributes, XMLReader, and Parser.\u003c/p\u003e\n"],["\u003cp\u003eSome classes on this page, such as AttributeListImpl and ParserFactory, are deprecated and should be avoided in new code.\u003c/p\u003e\n"],["\u003cp\u003eDevelopers can leverage these helper classes to simplify their SAX-based XML processing tasks.\u003c/p\u003e\n"],["\u003cp\u003eKey functionalities include namespace support, SAX1/SAX2 adaptation, and default event handling.\u003c/p\u003e\n"]]],[],null,["# org.xml.sax.helpers\n\n### Classes\n\n|------------------------------------------------------------------------------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [AttributeListImpl](../../../../../reference/org/xml/sax/helpers/AttributeListImpl.html) | *This class is deprecated. This class implements a deprecated interface, [AttributeList](../../../../../reference/org/xml/sax/AttributeList.html); that interface has been replaced by [Attributes](../../../../../reference/org/xml/sax/Attributes.html), which is implemented in the [AttributesImpl](../../../../../reference/org/xml/sax/helpers/AttributesImpl.html) helper class.* |\n| [AttributesImpl](../../../../../reference/org/xml/sax/helpers/AttributesImpl.html) | Default implementation of the Attributes interface. |\n| [DefaultHandler](../../../../../reference/org/xml/sax/helpers/DefaultHandler.html) | Default base class for SAX2 event handlers. |\n| [LocatorImpl](../../../../../reference/org/xml/sax/helpers/LocatorImpl.html) | Provide an optional convenience implementation of Locator. |\n| [NamespaceSupport](../../../../../reference/org/xml/sax/helpers/NamespaceSupport.html) | Encapsulate Namespace logic for use by applications using SAX, or internally by SAX drivers. |\n| [ParserAdapter](../../../../../reference/org/xml/sax/helpers/ParserAdapter.html) | Adapt a SAX1 Parser as a SAX2 XMLReader. |\n| [ParserFactory](../../../../../reference/org/xml/sax/helpers/ParserFactory.html) | *This class is deprecated. This class works with the deprecated [Parser](../../../../../reference/org/xml/sax/Parser.html) interface.* |\n| [XMLFilterImpl](../../../../../reference/org/xml/sax/helpers/XMLFilterImpl.html) | Base class for deriving an XML filter. |\n| [XMLReaderAdapter](../../../../../reference/org/xml/sax/helpers/XMLReaderAdapter.html) | Adapt a SAX2 XMLReader as a SAX1 Parser. |\n| [XMLReaderFactory](../../../../../reference/org/xml/sax/helpers/XMLReaderFactory.html) | Factory for creating an XML reader. |"]]