public class ElementSelectorImpl extends Object implements ElementSelector
ElementSelector
.Constructor and Description |
---|
ElementSelectorImpl() |
Modifier and Type | Method and Description |
---|---|
Map |
getNamespaceDeclarations()
Gets the namespace prefix to URI mapping to use when evaluating the XPath.
|
String |
getXPathExpression()
Gets the XPath expression pointing to a single element.
|
void |
setNamespaceDeclarations(Map namespaceDeclarations)
Sets namespace declarations to apply for evaluating the XPath.
|
void |
setXPathExpression(String xPathExpression)
Sets the XPath expression pointing to the element.
|
public void setXPathExpression(String xPathExpression)
xPathExpression
- XPath expression pointing to the element.public String getXPathExpression()
ElementSelector
getXPathExpression
in interface ElementSelector
public void setNamespaceDeclarations(Map namespaceDeclarations)
namespaceDeclarations
- The namespace declarations to apply for
evaluating the XPath.public Map getNamespaceDeclarations()
ElementSelector
getNamespaceDeclarations
in interface ElementSelector
Copyright © 2016. All rights reserved.