|
jaxen 1.1.3-redhat-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface XPathExpr
A wrapper around an XPath expression.
| Method Summary | |
|---|---|
List |
asList(Context context)
Evaluates the expression and returns a list cintaing the resulting nodes, or a singleton list containing a Double, String,
or Boolean. |
Expr |
getRootExpr()
Returns the wrapped expression object. |
String |
getText()
Returns a String containing the XPath expression. |
void |
setRootExpr(Expr rootExpr)
Changes the wrapped expression object. |
void |
simplify()
Simplifies the XPath expression. |
| Method Detail |
|---|
Expr getRootExpr()
void setRootExpr(Expr rootExpr)
rootExpr - the new expression object to wrapString getText()
void simplify()
//para[1 = 1] could be simplified to
//para. In practice, this is usually a noop.
Jaxen does not currently perform any simplification.
List asList(Context context)
throws JaxenException
Double, String,
or Boolean.
context - the context in which to evaluate this expression
JaxenException
|
jaxen 1.1.3-redhat-2 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||