Class GetAsStringDirective
java.lang.Object
org.apache.velocity.runtime.directive.Directive
org.apache.tiles.velocity.template.GetAsStringDirective
- All Implemented Interfaces:
- Cloneable,- org.apache.velocity.runtime.directive.DirectiveConstants
public class GetAsStringDirective
extends org.apache.velocity.runtime.directive.Directive
Render the value of the specified template attribute to the current Writer
Retrieve the value of the specified template attribute property, and render it to the current Writer as a String. The usual toString() conversions is applied on found value.
- 
Field SummaryFields inherited from class org.apache.velocity.runtime.directive.Directivelog, rsvcFields inherited from interface org.apache.velocity.runtime.directive.DirectiveConstantsBLOCK, LINE
- 
Constructor SummaryConstructors
- 
Method SummaryMethods inherited from class org.apache.velocity.runtime.directive.DirectivecheckArgs, getColumn, getLine, getScopeName, getTemplate, getTemplateName, init, isScopeProvided, makeScope, postRender, preRender, setLocation, setLocation
- 
Constructor Details- 
GetAsStringDirectivepublic GetAsStringDirective()
 
- 
- 
Method Details- 
getName- Specified by:
- getNamein class- org.apache.velocity.runtime.directive.Directive
 
- 
getTypepublic int getType()- Specified by:
- getTypein class- org.apache.velocity.runtime.directive.Directive
 
- 
renderpublic boolean render(org.apache.velocity.context.InternalContextAdapter context, Writer writer, org.apache.velocity.runtime.parser.node.Node node) throws IOException - Specified by:
- renderin class- org.apache.velocity.runtime.directive.Directive
- Throws:
- IOException
 
 
-