Condensed API for parsing of XML into DOM with (optional) XML schema validation.
More...
|
| DOMParser (Source[] schemaSources) |
|
Schema | getSchema () |
|
DocumentBuilderFactory | createFactory (boolean validating) throws ParserException |
|
Transformer | createTransformer (String method, int indent, boolean standalone) throws ParserException |
|
D | createDocument () |
|
D | parse (URL url) throws ParserException |
|
D | parse (String string) throws ParserException |
|
D | parse (File file) throws ParserException |
|
D | parse (InputStream stream) throws ParserException |
|
D | parse (URL url, boolean validate) throws ParserException |
|
D | parse (String string, boolean validate) throws ParserException |
|
D | parse (File file, boolean validate) throws ParserException |
|
D | parse (InputStream stream, boolean validate) throws ParserException |
|
D | parse (InputSource source, boolean validate) throws ParserException |
|
void | validate (URL url) throws ParserException |
|
void | validate (String string) throws ParserException |
|
void | validate (Document document) throws ParserException |
|
void | validate (DOM dom) throws ParserException |
|
void | validate (Source source) throws ParserException |
|
XPathFactory | createXPathFactory () |
|
XPath | createXPath (NamespaceContext nsContext) |
|
XPath | createXPath (XPathFactory factory, NamespaceContext nsContext) |
|
Object | getXPathResult (DOM dom, XPath xpath, String expr, QName result) |
|
Object | getXPathResult (DOMElement element, XPath xpath, String expr, QName result) |
|
Object | getXPathResult (Node context, XPath xpath, String expr, QName result) |
|
String | print (DOM dom) throws ParserException |
|
String | print (DOM dom, int indent) throws ParserException |
|
String | print (DOM dom, boolean standalone) throws ParserException |
|
String | print (DOM dom, int indent, boolean standalone) throws ParserException |
|
String | print (Document document, int indent, boolean standalone) throws ParserException |
|
String | print (String string, int indent, boolean standalone) throws ParserException |
|
String | print (Source source, int indent, boolean standalone) throws ParserException |
|
String | printHTML (Document dom) throws ParserException |
|
String | printHTML (Document dom, int indent, boolean standalone, boolean doctype) throws ParserException |
|
void | removeIgnorableWSNodes (Element element) |
|
boolean | isIgnorableWSNode (Node node) |
|
void | warning (SAXParseException e) throws SAXException |
|
void | error (SAXParseException e) throws SAXException |
|
void | fatalError (SAXParseException e) throws SAXException |
|
InputSource | resolveEntity (String publicId, String systemId) throws SAXException, IOException |
|
Condensed API for parsing of XML into DOM with (optional) XML schema validation.
Provides many XML utility features, like pretty printing, escaping, or node visitor.
NOTE: This class is not thread-safe because JAXP factories are not thread-safe!
- Author
- Christian Bauer