public class Literal extends Directive
Modifier and Type | Field and Description |
---|---|
(package private) java.lang.String |
literalText |
BLOCK, LINE
Constructor and Description |
---|
Literal() |
Modifier and Type | Method and Description |
---|---|
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 |
render(InternalContextAdapter context,
java.io.Writer writer,
Node node)
Throw the literal rendition of the block between
#literal()/#end into the writer.
|
getColumn, getLine, setLocation
public java.lang.String getName()
public int getType()
public void init(RuntimeServices rs, InternalContextAdapter context, Node node) throws java.lang.Exception
public boolean render(InternalContextAdapter context, java.io.Writer writer, Node node) throws java.io.IOException
Copyright ? 2002 Apache Software Foundation. All Rights Reserved.