JAXP defines packages for using the functions listed in Table 2-1 of 2.1 About JAXP. The following table gives an overview of APIs that are included in the packages defined in JAXP:
Table 2-2 An overview of APIs included in the packages defined in JAXP
Package | An overview of APIs included in the packages |
---|---|
javax.xml.parsers | APIs for performing parsing with a DOM parser and SAX parser. |
javax.xml.stream | APIs for StAX parsing. |
javax.xml.stream.events | |
javax.xml.stream.util | |
javax.xml.transform | APIs for XSLT transformers |
javax.xml.transform.dom | APIs that use DOM for inputting to and outputting from XSLT transformers |
javax.xml.transform.sax | APIs that use SAX for inputting to and outputting from XSLT transformers |
javax.xml.transform.stax | APIs that use StAX for performing input and output from the XSLT transformers |
javax.xml.transform.stream | APIs that use streams for inputting to and outputting from XSLT transformers. |
javax.xml.validation | APIs for validating XML documents |
javax.xml.xpath | APIs for evaluating XPath expressions |
javax.xml.namespace | API for processing XML namespaces |
javax.xml.datatype | APIs for processing the date and time format data defined in W3C XML Schema 1.0 |
javax.xml | Character-string constants related to XML |
org.w3c.dom | APIs for manipulating DOM trees |
org.w3c.dom.bootstrap | APIs for obtaining a DOM implementation |
org.w3c.dom.ls | APIs for loading and saving XML documents |
org.w3c.dom.events | APIs for handling DOM events |
org.xml.sax | API for basic SAX processing |
org.xml.sax.ext | APIs for extended SAX processing |
org.xml.sax.helpers | Sets of helper classes for SAX processing |
The following subsections give an overview of each package.