org.apache.commons.jelly.impl
Class ScriptBlock
java.lang.Object
|
+--org.apache.commons.jelly.impl.ScriptBlock
- All Implemented Interfaces:
- Script
- Direct Known Subclasses:
- CompositeTextScriptBlock
- public class ScriptBlock
- extends java.lang.Object
- implements Script
ScriptBlock
a block of scripts.
- Version:
- $Revision: 1.7 $
- Author:
- James Strachan
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ScriptBlock
public ScriptBlock()
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
addScript
public void addScript(Script script)
- Add a new script to the end of this block
removeScript
public void removeScript(Script script)
- Removes a script from this block
getScriptList
public java.util.List getScriptList()
- Gets the child scripts that make up this block. This list is live
so that it can be modified if requried
compile
public Script compile()
throws java.lang.Exception
- Description copied from interface:
Script
- Called by the parser to allow a more efficient
representation of the script to be used.
- Specified by:
compile
in interface Script
run
public void run(JellyContext context,
XMLOutput output)
throws java.lang.Exception
- Evaluates the body of a tag
- Specified by:
run
in interface Script
Copyright © 2002-2002 Apache Software Foundation. All Rights Reserved.