Class UnaryExpression

  • All Implemented Interfaces:
    Expression

    public abstract class UnaryExpression
    extends java.lang.Object
    implements Expression
    An expression which performs an operation on two expression values
    Version:
    $Revision: 1.3 $
    • Constructor Detail

      • UnaryExpression

        public UnaryExpression​(Expression left)
    • Method Detail

      • createXPath

        public static BooleanExpression createXPath​(java.lang.String xpath)
      • createXQuery

        public static BooleanExpression createXQuery​(java.lang.String xpath)
      • setRight

        public void setRight​(Expression expression)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
        See Also:
        Object.toString()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
        See Also:
        Object.hashCode()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
        See Also:
        Object.equals(java.lang.Object)
      • getExpressionSymbol

        public abstract java.lang.String getExpressionSymbol()
        Returns the symbol that represents this binary expression. For example, addition is represented by "+"
        Returns: