public class ASTNegateNode extends SimpleNode
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
strictMode |
| Constructor and Description |
|---|
ASTNegateNode(int i) |
ASTNegateNode(Parser p,
int i) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
evaluate(InternalContextAdapter context) |
Object |
init(InternalContextAdapter context,
Object data) |
Object |
jjtAccept(ParserVisitor visitor,
Object data) |
String |
literal() |
Object |
value(InternalContextAdapter context) |
childrenAccept, cleanupParserAndTokens, 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, toStringpublic ASTNegateNode(int i)
public ASTNegateNode(Parser p, int i)
public Object init(InternalContextAdapter context, Object data) throws TemplateInitException
init in interface Nodeinit in class SimpleNodeTemplateInitExceptionNode.init(org.apache.velocity.context.InternalContextAdapter, java.lang.Object)public Object jjtAccept(ParserVisitor visitor, Object data)
jjtAccept in interface NodejjtAccept in class SimpleNodeSimpleNode.jjtAccept(org.apache.velocity.runtime.parser.node.ParserVisitor, java.lang.Object)public boolean evaluate(InternalContextAdapter context) throws MethodInvocationException
evaluate in interface Nodeevaluate in class SimpleNodeMethodInvocationExceptionSimpleNode.evaluate(org.apache.velocity.context.InternalContextAdapter)public Object value(InternalContextAdapter context) throws MethodInvocationException
value in interface Nodevalue in class SimpleNodeMethodInvocationExceptionSimpleNode.value(org.apache.velocity.context.InternalContextAdapter)public String literal()
literal in interface Nodeliteral in class SimpleNodeNode.literal()Copyright © 2000–2021 The Apache Software Foundation. All rights reserved.