Interface UnaryExpr

All Superinterfaces:
Expr, Serializable

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

    Modifier and Type
    Method
    Description
    Returns the expression following the minus sign.

    Methods inherited from interface org.jaxen.expr.Expr

    evaluate, getText, simplify
  • Method Details

    • getExpr

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