Package org.docx4j.utils
Class XPathFactoryUtil
java.lang.Object
org.docx4j.utils.XPathFactoryUtil
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XPathFactorystatic XPathnewXPath()static voidsetxPathFactory(XPathFactory xPathFactory) Specify the XPath factory used in getJAXBNodesViaXPath.
-
Constructor Details
-
XPathFactoryUtil
public XPathFactoryUtil()
-
-
Method Details
-
setxPathFactory
Specify the XPath factory used in getJAXBNodesViaXPath. org.apache.xpath.jaxp.XPathFactoryImpl is recommended. Use something else at your own risk! Note that setting this currently doesn't affect the XPath implementation used in OpenDoPE processing.- Parameters:
xPathFactory-- Since:
- 6.1.0
-
getXPathFactory
-
newXPath
-