public class Define extends Block
Block.Reference
BLOCK, LINE
Constructor and Description |
---|
Define() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Return name of this directive.
|
void |
init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
simple init - get the key
|
boolean |
render(InternalContextAdapter context,
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, setLocation
public String getName()
public void init(RuntimeServices rs, InternalContextAdapter context, Node node) throws TemplateInitException
init
in class Block
TemplateInitException
public boolean render(InternalContextAdapter context, Writer writer, Node node)
Copyright © 2000–2017. All rights reserved.