|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.jelly.impl.TextScript
public class TextScript
TextScript outputs some static text.
| Constructor Summary | |
|---|---|
TextScript()
|
|
TextScript(String text)
|
|
| Method Summary | |
|---|---|
Script |
compile()
Called by the parser to allow a more efficient representation of the script to be used. |
String |
getText()
|
void |
run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag |
void |
setText(String text)
Sets the text output by this script |
String |
toString()
|
void |
trimWhitespace()
Trims whitespace if this is ignorable whitespace. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TextScript()
public TextScript(String text)
| Method Detail |
|---|
public String toString()
toString in class Objectpublic void trimWhitespace()
public String getText()
public void setText(String text)
public Script compile()
Script
compile in interface Script
public void run(JellyContext context,
XMLOutput output)
throws JellyTagException
run in interface ScriptJellyTagException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||