| Modifier and Type | Method and Description |
|---|---|
static DocumentBuilderFactory |
getDocumentBuilderFactory()
Creates a new DocumentBuilderFactory, with sensible defaults
|
static SAXParserFactory |
getSaxParserFactory() |
static SchemaFactory |
getSchemaFactory() |
static TransformerFactory |
getTransformerFactory() |
static DocumentBuilder |
newDocumentBuilder()
Creates a new document builder, with sensible defaults
|
static Transformer |
newTransformer() |
static XMLEventFactory |
newXMLEventFactory()
Creates a new StAX XMLEventFactory, with sensible defaults
|
static XMLInputFactory |
newXMLInputFactory()
Creates a new StAX XMLInputFactory, with sensible defaults
|
static XMLOutputFactory |
newXMLOutputFactory()
Creates a new StAX XMLOutputFactory, with sensible defaults
|
static XMLReader |
newXMLReader()
Creates a new SAX XMLReader, with sensible defaults
|
public static DocumentBuilderFactory getDocumentBuilderFactory()
public static DocumentBuilder newDocumentBuilder()
IllegalStateException - If creating the DocumentBuilder fails, e.g.
due to ParserConfigurationException.public static SAXParserFactory getSaxParserFactory()
public static XMLReader newXMLReader() throws SAXException, ParserConfigurationException
public static XMLInputFactory newXMLInputFactory()
public static XMLOutputFactory newXMLOutputFactory()
public static XMLEventFactory newXMLEventFactory()
public static TransformerFactory getTransformerFactory()
public static Transformer newTransformer() throws TransformerConfigurationException
public static SchemaFactory getSchemaFactory()
Copyright © 2007-2022. All Rights Reserved.