public class Literal extends Directive
BLOCK, LINE| 构造器和说明 |
|---|
Literal()
已过时。
|
| 限定符和类型 | 方法和说明 |
|---|---|
java.lang.String |
getName()
已过时。
Return name of this directive.
|
int |
getType()
已过时。
Return type of this directive.
|
void |
init(RuntimeServices rs,
InternalContextAdapter context,
Node node)
已过时。
Store the literal rendition of a node using
the Node.literal().
|
boolean |
isScopeProvided()
已过时。
Since there is no processing of content,
there is never a need for an internal scope.
|
boolean |
render(InternalContextAdapter context,
java.io.Writer writer,
Node node)
已过时。
Throw the literal rendition of the block between
#literal()/#end into the writer.
|
getColumn, getLine, getScopeName, getTemplateName, makeScope, postRender, preRender, setLocation, setLocationpublic java.lang.String getName()
public int getType()
public boolean isScopeProvided()
isScopeProvided 在类中 Directivepublic 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