|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jaxen.expr.DefaultXPathExpr
public class DefaultXPathExpr
| Field Summary | |
|---|---|
private Expr |
rootExpr
Deprecated. |
private static long |
serialVersionUID
Deprecated. |
| Constructor Summary | |
|---|---|
DefaultXPathExpr(Expr rootExpr)
Deprecated. |
|
| Method Summary | |
|---|---|
java.util.List |
asList(Context context)
Deprecated. Evaluates the expression and returns a list cintaing the resulting nodes, or a singleton list containing a Double, String,
or Boolean. |
Expr |
getRootExpr()
Deprecated. Returns the wrapped expression object. |
java.lang.String |
getText()
Deprecated. Returns a String containing the XPath expression. |
void |
setRootExpr(Expr rootExpr)
Deprecated. Changes the wrapped expression object. |
void |
simplify()
Deprecated. Simplifies the XPath expression. |
java.lang.String |
toString()
Deprecated. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
private static final long serialVersionUID
private Expr rootExpr
| Constructor Detail |
|---|
public DefaultXPathExpr(Expr rootExpr)
| Method Detail |
|---|
public Expr getRootExpr()
XPathExpr
getRootExpr in interface XPathExprpublic void setRootExpr(Expr rootExpr)
XPathExpr
setRootExpr in interface XPathExprpublic java.lang.String toString()
toString in class java.lang.Objectpublic java.lang.String getText()
XPathExpr
getText in interface XPathExprpublic void simplify()
XPathExpr//para[1 = 1] could be simplified to
//para. In practice, this is usually a noop.
Jaxen does not currently perform any simplification.
simplify in interface XPathExpr
public java.util.List asList(Context context)
throws JaxenException
XPathExprDouble, String,
or Boolean.
asList in interface XPathExprcontext - the context in which to evaluate this expression
JaxenException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||