public class DefaultXPathExpr extends Object implements XPathExpr
コンストラクタと説明 |
---|
DefaultXPathExpr(Expr rootExpr)
非推奨です。
|
修飾子とタイプ | メソッドと説明 |
---|---|
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.
|
String |
toString()
非推奨です。
|
public DefaultXPathExpr(Expr rootExpr)
public Expr getRootExpr()
XPathExpr
getRootExpr
インタフェース内 XPathExpr
public void setRootExpr(Expr rootExpr)
XPathExpr
setRootExpr
インタフェース内 XPathExpr
rootExpr
- the new expression object to wrappublic String getText()
XPathExpr
public 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.public List asList(Context context) throws JaxenException
XPathExpr
Double
, String
,
or Boolean
.asList
インタフェース内 XPathExpr
context
- the context in which to evaluate this expressionJaxenException
Copyright © 2001-2013 Codehaus. All Rights Reserved.