public class SimpleXpath extends Object
| Constructor and Description |
|---|
SimpleXpath(String relativeXpath,
Map<String,String> nsPrefixUriMap)
TODO.
|
| Modifier and Type | Method and Description |
|---|---|
List<Node> |
select(Element context) |
Node |
selectFirstMatch(Element context) |
public SimpleXpath(String relativeXpath, Map<String,String> nsPrefixUriMap) throws XPathExpressionException
relativeXpath - the relative XPathnsPrefixUriMap - Prefix and URI map of namespace. Set it to null if
namespace will not be evaluated.XPathExpressionException - if the XPath expression is invalidCopyright © 2018. All rights reserved.