|
||||||||||
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(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 |
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(java.lang.String text)
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public void trimWhitespace()
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 |