public class XMLFactory
extends java.lang.Object
Constructor and Description |
---|
XMLFactory() |
Modifier and Type | Method and Description |
---|---|
static org.w3c.dom.Document |
getDocument()
Return a new DOM Document.
|
static javax.xml.parsers.DocumentBuilder |
getDOMParser(boolean validating,
boolean namespaceAware)
Return a DocumentBuilder with the specified configuration.
|
static javax.xml.parsers.SAXParser |
getSAXParser(boolean validating,
boolean namespaceAware)
Return a SAXParser with the specified configuration.
|
public static javax.xml.parsers.SAXParser getSAXParser(boolean validating, boolean namespaceAware)
public static javax.xml.parsers.DocumentBuilder getDOMParser(boolean validating, boolean namespaceAware)
public static org.w3c.dom.Document getDocument()
Copyright © 2006-2013 Apache Software Foundation. All Rights Reserved.