jd.xml.xpath.expr.misc
Class Negate
java.lang.Object
jd.xml.xpath.expr.ExpressionImpl
jd.xml.xpath.expr.NumericExpression
jd.xml.xpath.expr.misc.Negate
- All Implemented Interfaces:
- Expression
- public class Negate
- extends NumericExpression
Negate represents the negate expression.
Negate
public Negate(Expression expr)
toNumberValue
public double toNumberValue(XPathContext context)
- Description copied from class:
NumericExpression
- Evaluate the Expression to a number.
- Specified by:
toNumberValue
in interface Expression
- Specified by:
toNumberValue
in class NumericExpression
getContextDependencies
public int getContextDependencies()
- Description copied from interface:
Expression
- Return a bitfield indicating the expression dependencies
on the XPath context.
accept
public void accept(ExpressionVisitor visitor)
- Description copied from interface:
Expression
- Accept a ExpressionVisitor.