Package org.docx4j.utils
Class XPathFactoryUtil
java.lang.Object
org.docx4j.utils.XPathFactoryUtil
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate static org.slf4j.Loggerprivate static XPathFactory -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic XPathFactorystatic XPathnewXPath()static voidsetxPathFactory(XPathFactory xPathFactory) Specify the XPath factory used in getJAXBNodesViaXPath.
-
Field Details
-
log
private static org.slf4j.Logger log -
xPathFactory
-
DTM_MANAGER_PROP_NAME
- See Also:
-
DTM_MANAGER_CLASS_NAME
- See Also:
-
-
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
-