|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.actf.util.xpath.XPathService
public abstract class XPathService
Utility class for XPath evaluation
Constructor Summary | |
---|---|
XPathService()
|
Method Summary | |
---|---|
abstract Object |
compile(String path)
Compile an XPath expression for later evaluation. |
abstract NodeList |
evalForNodeList(Object compiled,
Node ctx)
Evaluate the compiled XPath expression in the specified context and return the result as NodeList. |
abstract String |
evalForString(Object compiled,
Node ctx)
Evaluate the compiled XPath expression in the specified context and return the result as String. |
NodeList |
evalPathForNodeList(String path,
Node ctx)
Evaluate the XPath expression in the specified context and return the result as NodeList. |
String |
evalPathForString(String path,
Node ctx)
Evaluate the XPath expression in the specified context and return the result as NodeList. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public XPathService()
Method Detail |
---|
public abstract Object compile(String path)
path
- the target XPath expression
public abstract NodeList evalForNodeList(Object compiled, Node ctx)
compiled
- the compiled XPath expressionctx
- the target context
public abstract String evalForString(Object compiled, Node ctx)
compiled
- the compiled XPath expressionctx
- the target context
public NodeList evalPathForNodeList(String path, Node ctx)
path
- the target XPath expressionctx
- the target context
public String evalPathForString(String path, Node ctx)
path
- the target XPath expressionctx
- the target context
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |