public class Literal extends Directive
BLOCK, LINE| Constructor and Description |
|---|
Literal()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getName()
Deprecated.
Return name of this directive.
|
int |
getType()
Deprecated.
Return type of this directive.
|
void |
init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
Deprecated.
Store the literal rendition of a node using
the Node.literal().
|
boolean |
isScopeProvided()
Deprecated.
Since there is no processing of content,
there is never a need for an internal scope.
|
boolean |
render(InternalContextAdapter context,
Writer writer,
Node node)
Deprecated.
Throw the literal rendition of the block between
#literal()/#end into the writer.
|
getColumn, getLine, getScopeName, getTemplateName, makeScope, postRender, preRender, setLocation, setLocationpublic String getName()
public int getType()
public boolean isScopeProvided()
isScopeProvided in class Directivepublic 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
render in class Directivecontext - writer - node - IOExceptionCopyright © 2000–2016. All rights reserved.