java.xml (Java SE 9 & JDK 9 ) (original) (raw)
Defines the Java API for XML Processing (JAXP), the Streaming API for XML (StAX), the Simple API for XML (SAX), and the W3C Document Object Model (DOM) API.
Module Graph:
Since:
9
Packages
Exports
Package Description javax.xml Defines constants for XML processing. javax.xml.catalog Provides the classes for implementing XML Catalogs OASIS Standard V1.1, 7 October 2005. javax.xml.datatype Defines XML/Java Type Mappings. javax.xml.namespace Defines XML Namespace processing. javax.xml.parsers Provides the classes for processing XML documents with a SAX (Simple API for XML) parser or a DOM (Document Object Model) Document builder. javax.xml.stream Defines interfaces and classes for the Streaming API for XML (StAX). javax.xml.stream.events Defines event interfaces for the Streaming API for XML (StAX). javax.xml.stream.util Provides utility classes for the Streaming API for XML (StAX). javax.xml.transform Defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. javax.xml.transform.dom Provides DOM specific transformation classes. javax.xml.transform.sax Provides SAX specific transformation classes. javax.xml.transform.stax Provides StAX specific transformation classes. javax.xml.transform.stream Provides stream and URI specific transformation classes. javax.xml.validation Provides an API for validation of XML documents. javax.xml.xpath Provides an object-model neutral API for the evaluation of XPath expressions and access to the evaluation environment. org.w3c.dom Provides the interfaces for the Document Object Model (DOM). org.w3c.dom.bootstrap Provides a factory for obtaining instances of DOMImplementation. org.w3c.dom.events Provides interfaces for DOM Level 2 Events. org.w3c.dom.ls Provides interfaces for DOM Level 3 Load and Save. org.w3c.dom.ranges Provides interfaces for DOM Level 2 Range. org.w3c.dom.traversal Provides interfaces for DOM Level 2 Traversal. org.w3c.dom.views Provides interfaces for DOM Level 2 Views. org.xml.sax Provides the core SAX APIs. org.xml.sax.ext Provides interfaces to SAX2 facilities that conformant SAX drivers won't necessarily support. org.xml.sax.helpers Provides helper classes, including support for bootstrapping SAX-based applications. Services
Uses
Type Description DatatypeFactory Factory that creates new javax.xml.datatype Objects that map XML to/from Java Objects. DocumentBuilderFactory Defines a factory API that enables applications to obtain a parser that produces DOM object trees from XML documents. SAXParserFactory Defines a factory API that enables applications to configure and obtain a SAX based parser to parse XML documents. SchemaFactory Factory that creates Schema objects. TransformerFactory A TransformerFactory instance can be used to createTransformer andTemplates objects. XMLEventFactory This interface defines a utility class for creating instances of XMLEvents XMLInputFactory Defines an abstract implementation of a factory for getting streams. XMLOutputFactory Defines an abstract implementation of a factory for getting XMLEventWriters and XMLStreamWriters. XMLReader Interface for reading an XML document using callbacks. XPathFactory An XPathFactory instance can be used to createXPath objects.
Report a bug or suggest an enhancement
For further API reference and developer documentation see the Java SE Documentation, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.
Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.
Copyright © 1993, 2017, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.
All rights reserved. Use is subject to license terms and the documentation redistribution policy.