Class DefaultXPathExpr
java.lang.Object
org.jaxen.expr.DefaultXPathExpr
- All Implemented Interfaces:
Serializable, XPathExpr
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionDeprecated.Evaluates the expression and returns a list cintaing the resulting nodes, or a singleton list containing aDouble,String, orBoolean.Deprecated.Returns the wrapped expression object.getText()Deprecated.Returns a String containing the XPath expression.voidsetRootExpr(Expr rootExpr) Deprecated.Changes the wrapped expression object.voidsimplify()Deprecated.Simplifies the XPath expression.toString()Deprecated.
-
Field Details
-
serialVersionUID
private static final long serialVersionUIDDeprecated.- See Also:
-
rootExpr
Deprecated.
-
-
Constructor Details
-
DefaultXPathExpr
Deprecated.
-
-
Method Details
-
getRootExpr
Deprecated.Description copied from interface:XPathExprReturns the wrapped expression object.- Specified by:
getRootExprin interfaceXPathExpr- Returns:
- the wrapped Expr object
-
setRootExpr
Deprecated.Description copied from interface:XPathExprChanges the wrapped expression object.- Specified by:
setRootExprin interfaceXPathExpr- Parameters:
rootExpr- the new expression object to wrap
-
toString
-
getText
-
simplify
public void simplify()Deprecated.Description copied from interface:XPathExprSimplifies the XPath expression. For example, the expression//para[1 = 1]could be simplified to//para. In practice, this is usually a noop. Jaxen does not currently perform any simplification. -
asList
Deprecated.Description copied from interface:XPathExprEvaluates the expression and returns a list cintaing the resulting nodes, or a singleton list containing aDouble,String, orBoolean.- Specified by:
asListin interfaceXPathExpr- Parameters:
context- the context in which to evaluate this expression- Returns:
- a list
- Throws:
JaxenException
-