|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.commons.jelly.impl.ScriptBlock
public class ScriptBlock
ScriptBlock
a block of scripts.
Field Summary | |
---|---|
private java.util.List |
list
The list of scripts |
Constructor Summary | |
---|---|
ScriptBlock()
Create a new instance. |
Method Summary | |
---|---|
void |
addScript(Script script)
Add a new script to the end of this block |
Script |
compile()
Called by the parser to allow a more efficient representation of the script to be used. |
java.util.List |
getScriptList()
Gets the child scripts that make up this block. |
void |
removeScript(Script script)
Removes a script from this block |
void |
run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag |
java.lang.String |
toString()
|
void |
trimWhitespace()
Trim the body of the script. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private java.util.List list
Constructor Detail |
---|
public ScriptBlock()
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public void addScript(Script script)
public void removeScript(Script script)
public java.util.List getScriptList()
public Script compile() throws JellyException
Script
compile
in interface Script
JellyException
public void run(JellyContext context, XMLOutput output) throws JellyTagException
run
in interface Script
JellyTagException
public void trimWhitespace()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |