Class ASTNENode
-
- All Implemented Interfaces:
Cloneable
,Node
,Renderable
public class ASTNENode extends ASTEQNode
Handlesarg1 != arg2
by negating evaluation of ASTEQNode
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
evaluate(InternalContextAdapter context)
-
Methods inherited from class org.apache.velocity.runtime.parser.node.ASTEQNode
compareNonNumber, compareNull, getLiteralOperator, numberTest
-
Methods inherited from class org.apache.velocity.runtime.parser.node.ASTComparisonNode
compareNumbers, jjtAccept, value
-
Methods inherited from class org.apache.velocity.runtime.parser.node.ASTBinaryOperator
init, literal
-
Methods inherited from class org.apache.velocity.runtime.parser.node.SimpleNode
childrenAccept, cleanupParserAndTokens, clone, clone, dump, dump, dump, execute, getColumn, getFirstToken, getFirstTokenImage, getInfo, getLastToken, getLastTokenImage, getLine, getLocation, getParser, getRuntimeServices, getTemplate, getTemplateName, getType, isInvalid, jjtAddChild, jjtClose, jjtGetChild, jjtGetNumChildren, jjtGetParent, jjtOpen, jjtSetParent, render, saveTokenImages, setFirstToken, setInfo, setInvalid, toString, toString
-
-
-
-
Constructor Detail
-
ASTNENode
public ASTNENode(int id)
-
ASTNENode
public ASTNENode(Parser p, int id)
-
-
Method Detail
-
evaluate
public boolean evaluate(InternalContextAdapter context) throws MethodInvocationException
- Specified by:
evaluate
in interfaceNode
- Overrides:
evaluate
in classASTComparisonNode
- Returns:
- The evaluation result.
- Throws:
MethodInvocationException
- See Also:
SimpleNode.evaluate(org.apache.velocity.context.InternalContextAdapter)
-
-