|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jaxen.BaseXPath
com.jaxfront.core.xpath.TypeXPath
public class TypeXPath
An XPath implementation for the W3C DOM model
This is the main entry point for matching an XPath against a DOM tree. You
create a compiled XPath object, then match it against one or more context
nodes using the BaseXPath.selectNodes(java.lang.Object) method, as in the following example:
XPath path = new DOMXPath("a/b/c");
List results = path.selectNodes(domNode);
BaseXPath,
Serialized Form| Constructor Summary | |
|---|---|
TypeXPath(java.lang.String xpathExpr)
Construct given an XPath expression string. |
|
TypeXPath(java.lang.String xpathExpr,
org.jaxen.DefaultNavigator navigator)
|
|
| Method Summary |
|---|
| Methods inherited from class org.jaxen.BaseXPath |
|---|
addNamespace, booleanValueOf, debug, evaluate, getFunctionContext, getNamespaceContext, getNavigator, getRootExpr, getVariableContext, numberValueOf, selectNodes, selectSingleNode, setFunctionContext, setNamespaceContext, setVariableContext, stringValueOf, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TypeXPath(java.lang.String xpathExpr)
throws org.jaxen.JaxenException
xpathExpr - The XPath expression.
org.jaxen.JaxenException - if there is a syntax error while parsing the expression.
public TypeXPath(java.lang.String xpathExpr,
org.jaxen.DefaultNavigator navigator)
throws org.jaxen.JaxenException
org.jaxen.JaxenException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||