public class XPathFilterImpl extends Object implements XPathFilter
XPathFilter
.INTERSECT_TYPE, SUBTRACT_TYPE, UNION_TYPE
Constructor and Description |
---|
XPathFilterImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getFilterType()
Gets the type of this
XPathFilter . |
Map |
getNamespaceDeclarations()
Gets The namespace prefix to URI mapping used during evaluation of the
XPath expression.
|
String |
getXPathExpression()
Gets the XPath expression for selecting the nodes.
|
void |
setFilterType(String filterType)
Sets the type of filter.
|
void |
setNamespaceDelcarations(Map namespaceDeclarations)
Sets the namespace prefix to URI mapping to while evaluating the XPath
expression.
|
void |
setXPathExpression(String xPathExpression)
Sets the XPath expression of the filter.
|
public void setFilterType(String filterType)
filterType
- The type of filter.public String getFilterType()
XPathFilter
XPathFilter
.getFilterType
in interface XPathFilter
XPathFilter
.public void setXPathExpression(String xPathExpression)
xPathExpression
- The XPath expression of the filter.public String getXPathExpression()
XPathFilter
getXPathExpression
in interface XPathFilter
public void setNamespaceDelcarations(Map namespaceDeclarations)
namespaceDeclarations
- The namespace prefix to URI mapping to while
evaluating the XPath expression.public Map getNamespaceDeclarations()
XPathFilter
getNamespaceDeclarations
in interface XPathFilter
Copyright © 2016. All rights reserved.