public class XmlFactories
extends java.lang.Object
javax.xml.parsers
,
javax.xml.transform
and javax.xml.xpath
.DocumentBuilderFactory
-
DocumentBuilderFactory.newInstance()
TransformerFactory
-
TransformerFactory.newInstance()
XPathFactory
-
XPathFactory.newInstance()
java ... -Dcom.genesyslab.platform.commons.xml-doc-builder-factory=com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl ...
or with java code before any PSDK connections related code:
System.setProperty(XmlFactories.DOC_BUILDER_FACTORY_CLASSNAME_PROPERTY,
"com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl");
For example, known implementation classes are:"com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderFactoryImpl"
"com.sun.org.apache.xalan.internal.xsltc.trax.TransformerFactoryImpl"
"com.sun.org.apache.xpath.internal.jaxp.XPathFactoryImpl"
Modifier and Type | Field | Description |
---|---|---|
static java.lang.String |
DOC_BUILDER_FACTORY_CLASSNAME_PROPERTY |
|
static java.lang.String |
TRANSFORMER_FACTORY_CLASSNAME_PROPERTY |
|
static java.lang.String |
XPATH_FACTORY_CLASSNAME_PROPERTY |
Deprecated.
|
Constructor | Description |
---|---|
XmlFactories() |
Modifier and Type | Method | Description |
---|---|---|
static javax.xml.parsers.DocumentBuilderFactory |
getDocumentBuilderFactory() |
|
static javax.xml.parsers.DocumentBuilder |
newDocumentBuilder() |
|
static javax.xml.parsers.DocumentBuilder |
newDocumentBuilder(boolean useNS) |
|
static javax.xml.parsers.DocumentBuilderFactory |
newDocumentBuilderFactory() |
|
static javax.xml.parsers.DocumentBuilder |
newDocumentBuilderNS() |
|
static javax.xml.transform.Transformer |
newTransformer() |
|
static javax.xml.transform.Transformer |
newTransformer(javax.xml.transform.Source source) |
|
static javax.xml.transform.TransformerFactory |
newTransformerFactory() |
|
static javax.xml.xpath.XPath |
newXPath() |
Deprecated.
|
static javax.xml.xpath.XPathFactory |
newXPathFactory() |
Deprecated.
|
public static final java.lang.String DOC_BUILDER_FACTORY_CLASSNAME_PROPERTY
public static final java.lang.String TRANSFORMER_FACTORY_CLASSNAME_PROPERTY
@Deprecated public static final java.lang.String XPATH_FACTORY_CLASSNAME_PROPERTY
public static javax.xml.parsers.DocumentBuilderFactory getDocumentBuilderFactory()
public static javax.xml.parsers.DocumentBuilderFactory newDocumentBuilderFactory()
public static javax.xml.parsers.DocumentBuilder newDocumentBuilder() throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException
public static javax.xml.parsers.DocumentBuilder newDocumentBuilderNS() throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException
public static javax.xml.parsers.DocumentBuilder newDocumentBuilder(boolean useNS) throws javax.xml.parsers.ParserConfigurationException
javax.xml.parsers.ParserConfigurationException
public static javax.xml.transform.TransformerFactory newTransformerFactory()
public static javax.xml.transform.Transformer newTransformer() throws javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerConfigurationException
public static javax.xml.transform.Transformer newTransformer(javax.xml.transform.Source source) throws javax.xml.transform.TransformerConfigurationException
javax.xml.transform.TransformerConfigurationException
@Deprecated public static javax.xml.xpath.XPathFactory newXPathFactory()
@Deprecated public static javax.xml.xpath.XPath newXPath()
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.