A very simple directive that leverages the Node.literal()
to grab the literal rendition of a node. We basically
grab the literal value on init(), then repeatedly use
that during render().
author: Jason van Zyl version: $Id: Literal.java 471381 2006-11-05 08:56:58Z wglass $
Store the literal rendition of a node using
the Node.literal().
Parameters: rs - Parameters: context - Parameters: node - throws: TemplateInitException -
Throw the literal rendition of the block between
#literal()/#end into the writer.
Parameters: context - Parameters: writer - Parameters: node - True if the directive rendered successfully. throws: IOException -
Fields inherited from org.apache.velocity.runtime.directive.Directive