|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.impl.TextScript
public class TextScript
TextScript
outputs some static text.
Field Summary | |
---|---|
private java.lang.String |
text
the text output by this script |
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 |
Field Detail |
---|
private java.lang.String text
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
JellyTagException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |