org.apache.velocity.runtime.directive
public class Literal extends Directive
Version: $Id: Literal.java,v 1.7.4.1 2004/03/03 23:22:56 geirm Exp $
Field Summary | |
---|---|
String | literalText |
Method Summary | |
---|---|
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, Writer writer, Node node)
Throw the literal rendition of the block between
#literal()/#end into the writer. |