Class AbstractXPathQueryExecutor
java.lang.Object
eu.europa.esig.dss.xml.utils.xpath.AbstractXPathQueryExecutor
- All Implemented Interfaces:
XPathQueryExecutor
- Direct Known Subclasses:
JavaXmlXPathQueryExecutor, NativeDOMXPathQueryExecutor
Abstract implementation of an
XPathQueryExecutor containing common methods and utilities.-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected NamespaceContextMapMap containing the defined namespaces -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetNamespaceContext(NamespaceContextMap namespaceContext) Sets the namespace context map containing a declaration of namespaces defined within the used XPath expressionsMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface XPathQueryExecutor
getNodeListModifier and TypeMethodDescriptiongetNodeList(Node xmlNode, eu.europa.esig.dss.xml.common.xpath.XPathQuery xPathQuery) Returns the NodeList corresponding to the XPath query.
-
Field Details
-
namespaceContext
Map containing the defined namespaces
-
-
Constructor Details
-
AbstractXPathQueryExecutor
protected AbstractXPathQueryExecutor()Default constructor
-
-
Method Details
-
setNamespaceContext
Description copied from interface:XPathQueryExecutorSets the namespace context map containing a declaration of namespaces defined within the used XPath expressions- Specified by:
setNamespaceContextin interfaceXPathQueryExecutor- Parameters:
namespaceContext-NamespaceContextMap
-