public class Evaluate extends Directive
BLOCK, LINE| 构造器和说明 |
|---|
Evaluate() |
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.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,
java.io.Writer writer,
Node node)
Evaluate the argument, convert to a String, and evaluate again
(with the same context).
|
getColumn, getLine, getScopeName, getTemplateName, isScopeProvided, makeScope, postRender, preRender, setLocation, setLocationpublic java.lang.String getName()
public int getType()
public void init(RuntimeServices rs, InternalContextAdapter context, Node node) throws TemplateInitException
init 在类中 Directivers - context - node - TemplateInitExceptionpublic boolean render(InternalContextAdapter context, java.io.Writer writer, Node node) throws java.io.IOException, ResourceNotFoundException, ParseErrorException, MethodInvocationException
render 在类中 Directivecontext - writer - node - java.io.IOExceptionResourceNotFoundExceptionParseErrorExceptionMethodInvocationException