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