Class NativeDOMXPathQueryExecutor
java.lang.Object
eu.europa.esig.dss.xml.utils.xpath.AbstractXPathQueryExecutor
eu.europa.esig.dss.xml.utils.xpath.NativeDOMXPathQueryExecutor
- All Implemented Interfaces:
XPathQueryExecutor
(Experimental) Implementation of
eu.europa.esig.dss.xml.utils.xpath.XPathQueryExecutor
based on the native XML DOM Node's processing.-
Field Summary
Fields inherited from class AbstractXPathQueryExecutor
namespaceContextModifier and TypeFieldDescriptionprotected NamespaceContextMapMap containing the defined namespaces -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetNodeList(Node xmlNode, eu.europa.esig.dss.xml.common.xpath.XPathQuery xPathQuery) Returns the NodeList corresponding to the XPath query.Methods inherited from class AbstractXPathQueryExecutor
setNamespaceContextModifier and TypeMethodDescriptionvoidsetNamespaceContext(NamespaceContextMap namespaceContext) Sets the namespace context map containing a declaration of namespaces defined within the used XPath expressions
-
Constructor Details
-
NativeDOMXPathQueryExecutor
public NativeDOMXPathQueryExecutor()Default constructor
-
-
Method Details
-
getNodeList
public NodeList getNodeList(Node xmlNode, eu.europa.esig.dss.xml.common.xpath.XPathQuery xPathQuery) Description copied from interface:XPathQueryExecutorReturns the NodeList corresponding to the XPath query.- Parameters:
xmlNode- The node where the search should be performed.xPathQuery-XPathQuery- Returns:
- the NodeList corresponding to the XPath query
-