public class Evaluate extends Directive
BLOCK, LINE| Constructor and Description |
|---|
Evaluate() |
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Return name of this directive.
|
int |
getType()
Return type of this directive.
|
void |
init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
Initialize and check arguments.
|
boolean |
render(InternalContextAdapter context,
Writer writer,
Node node)
Evaluate the argument, convert to a String, and evaluate again
(with the same context).
|
checkArgs, getColumn, getLine, getScopeName, getTemplate, getTemplateName, isScopeProvided, makeScope, postRender, preRender, setLocation, setLocationpublic String getName()
public int getType()
public void init(RuntimeServices rs, InternalContextAdapter context, Node node) throws TemplateInitException
init in class Directivers - context - node - TemplateInitExceptionpublic boolean render(InternalContextAdapter context, Writer writer, Node node) throws IOException, ResourceNotFoundException, ParseErrorException, MethodInvocationException
render in class Directivecontext - writer - node - IOExceptionResourceNotFoundExceptionParseErrorExceptionMethodInvocationExceptionCopyright © 2000–2019 The Apache Software Foundation. All rights reserved.