public class Define extends Block
Block.Referenceblock, key, log, maxDepthBLOCK, LINE| Constructor and Description |
|---|
Define() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
Return name of this directive.
|
void |
init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
simple init - get the key
|
boolean |
render(InternalContextAdapter context,
java.io.Writer writer,
Node node)
directive.render() simply makes an instance of the Block inner class
and places it into the context as indicated.
|
getColumn, getLine, getScopeName, getTemplateName, isScopeProvided, makeScope, postRender, preRender, setLocation, setLocationpublic java.lang.String getName()
public void init(RuntimeServices rs, InternalContextAdapter context, Node node) throws TemplateInitException
init in class BlockTemplateInitExceptionpublic boolean render(InternalContextAdapter context, java.io.Writer writer, Node node)