public class DomJaxenSelector extends Object implements XmlFieldSelector
DomJaxenSelector is thread safe.
| Constructor and Description |
|---|
DomJaxenSelector() |
| Modifier and Type | Method and Description |
|---|---|
static org.jaxen.XPath |
addNamespace(NamespaceMap namespaces,
org.jaxen.XPath xp) |
Boolean |
selectXPathToBoolean(NamespaceMap namespaces,
String xpath,
XmlFieldNode node)
Select xpath expression to an xml field node and return the result as a
boolean.
|
XmlFieldNode |
selectXPathToNode(NamespaceMap namespaces,
String xpath,
XmlFieldNode node)
Select xpath expression to an xml field node and return the result as an
xml field node.
|
XmlFieldNodeList |
selectXPathToNodeList(NamespaceMap namespaces,
String xpath,
XmlFieldNode node)
Select xpath expression to an xml field node and return the result as an
xml field node list.
|
Double |
selectXPathToNumber(NamespaceMap namespaces,
String xpath,
XmlFieldNode node)
Select xpath expression to an xml field node and return the result as a
double.
|
String |
selectXPathToString(NamespaceMap namespaces,
String xpath,
XmlFieldNode node)
Select xpath expression to an xml field node and return the result as a
string.
|
public static org.jaxen.XPath addNamespace(NamespaceMap namespaces, org.jaxen.XPath xp) throws org.jaxen.JaxenException
org.jaxen.JaxenExceptionpublic Boolean selectXPathToBoolean(NamespaceMap namespaces, String xpath, XmlFieldNode node) throws XmlFieldXPathException
XmlFieldSelectorselectXPathToBoolean in interface XmlFieldSelectornamespaces - xml namespacesxpath - xpath expressionnode - xml field nodeXmlFieldXPathException - exception thrown when the xpath evaluation failedpublic XmlFieldNode selectXPathToNode(NamespaceMap namespaces, String xpath, XmlFieldNode node) throws XmlFieldXPathException
XmlFieldSelectorselectXPathToNode in interface XmlFieldSelectornamespaces - xml namespacesxpath - xpath expressionnode - xml field nodeXmlFieldXPathException - exception thrown when the xpath evaluation failedpublic XmlFieldNodeList selectXPathToNodeList(NamespaceMap namespaces, String xpath, XmlFieldNode node) throws XmlFieldXPathException
XmlFieldSelectorselectXPathToNodeList in interface XmlFieldSelectornamespaces - xml namespacesxpath - xpath expressionnode - xml field nodeXmlFieldXPathException - exception thrown when the xpath evaluation failedpublic Double selectXPathToNumber(NamespaceMap namespaces, String xpath, XmlFieldNode node) throws XmlFieldXPathException
XmlFieldSelectorselectXPathToNumber in interface XmlFieldSelectornamespaces - xml namespacesxpath - xpath expressionnode - xml field nodeXmlFieldXPathException - exception thrown when the xpath evaluation failedpublic String selectXPathToString(NamespaceMap namespaces, String xpath, XmlFieldNode node) throws XmlFieldXPathException
XmlFieldSelectorselectXPathToString in interface XmlFieldSelectornamespaces - xml namespacesxpath - xpath expressionnode - xml field nodeXmlFieldXPathException - exception thrown when the xpath evaluation failedCopyright © 2011–2014. All rights reserved.