org.jaxen.expr

Interface UnaryExpr

All Superinterfaces:
Expr, Serializable
Known Implementing Classes:
DefaultUnaryExpr

public interface UnaryExpr
extends Expr

Represents an XPath unary expression such as -78. This is production 27 in the XPath 1.0 specification:
[27] UnaryExpr ::= UnionExpr | '-' UnaryExpr

Method Summary

Expr
getExpr()
Returns the expression following the minus sign.

Methods inherited from interface org.jaxen.expr.Expr

evaluate, getText, simplify

Method Details

getExpr

public Expr getExpr()
Returns the expression following the minus sign.
Returns:
the expression following the minus sign