Package org.apache.commons.jelly.impl
Class TextScript
java.lang.Object
org.apache.commons.jelly.impl.TextScript
- All Implemented Interfaces:
 Script
TextScript outputs some static text.
- Version:
 - $Revision: 155420 $
 - Author:
 - James Strachan
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptioncompile()Called by the parser to allow a more efficient representation of the script to be used.getText()voidrun(JellyContext context, XMLOutput output) Evaluates the body of a tagvoidSets the text output by this scripttoString()voidTrims whitespace if this is ignorable whitespace. 
- 
Constructor Details
- 
TextScript
public TextScript() - 
TextScript
 
 - 
 - 
Method Details
- 
toString
 - 
trimWhitespace
public void trimWhitespace()Trims whitespace if this is ignorable whitespace. - 
getText
- Returns:
 - the text output by this script
 
 - 
setText
Sets the text output by this script - 
compile
Description copied from interface:ScriptCalled by the parser to allow a more efficient representation of the script to be used. - 
run
Evaluates the body of a tag- Specified by:
 runin interfaceScript- Throws:
 JellyTagException
 
 -