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, setLocation
public String getName()
public int getType()
public boolean isScopeProvided()
isScopeProvided
in class Directive
public void init(RuntimeServices rs, InternalContextAdapter context, Node node) throws TemplateInitException
init
in class Directive
rs
- context
- node
- TemplateInitException
public boolean render(InternalContextAdapter context, Writer writer, Node node) throws IOException
render
in class Directive
context
- writer
- node
- IOException
Copyright © 2000–2016. All rights reserved.