| Modifier and Type | Method and Description |
|---|---|
boolean |
booleanValueOf(Object xpathContext) |
Object |
evaluate(Object xpathContext) |
XFunctionFilter |
getFunctionFilter() |
Object |
getImpl() |
XNamespaceContext |
getNamespaceContext() |
XVariableContext |
getVariableContext() |
double |
numberValueOf(Object xpathContext) |
static void |
provideXPathService(XPathAPIFactory factory) |
List |
selectNodes(Object xpathContext) |
org.dom4j.Node |
selectSingleNode(Object xpathContext) |
void |
setExpr(String expr) |
void |
setFunctionFilter(XFunctionFilter filter) |
void |
setNamespaceContext(XNamespaceContext nsContext) |
void |
setVariableContext(XVariableContext varContext) |
String |
stringValueOf(Object xpathContext) |
String |
toString() |
public XPath(String expr) throws XPathException
XPathExceptionpublic static void provideXPathService(XPathAPIFactory factory)
public void setVariableContext(XVariableContext varContext)
setVariableContext in interface XPathAPIpublic XVariableContext getVariableContext()
getVariableContext in interface XPathAPIpublic void setNamespaceContext(XNamespaceContext nsContext)
setNamespaceContext in interface XPathAPIpublic XNamespaceContext getNamespaceContext()
getNamespaceContext in interface XPathAPIpublic Object evaluate(Object xpathContext) throws XPathException
evaluate in interface XPathAPIXPathExceptionpublic boolean booleanValueOf(Object xpathContext) throws XPathException
booleanValueOf in interface XPathAPIXPathExceptionpublic double numberValueOf(Object xpathContext) throws XPathException
numberValueOf in interface XPathAPIXPathExceptionpublic String stringValueOf(Object xpathContext) throws XPathException
stringValueOf in interface XPathAPIXPathExceptionpublic org.dom4j.Node selectSingleNode(Object xpathContext) throws XPathException
selectSingleNode in interface XPathAPIXPathExceptionpublic List selectNodes(Object xpathContext) throws XPathException
selectNodes in interface XPathAPIXPathExceptionpublic String toString()
public Object getImpl()
public void setFunctionFilter(XFunctionFilter filter)
setFunctionFilter in interface XPathAPIpublic XFunctionFilter getFunctionFilter()
getFunctionFilter in interface XPathAPICopyright © 2015. All rights reserved.