Uses of Interface
org.apache.commons.jelly.Script
-
Packages that use Script Package Description org.apache.commons.jelly This package contains the main jelly API classes.org.apache.commons.jelly.impl Core implementation classes for Jelly.org.apache.commons.jelly.parser Jelly parsers both XML syntax and non-XML syntaxes are supported.org.apache.commons.jelly.util -
-
Uses of Script in org.apache.commons.jelly
Fields in org.apache.commons.jelly declared as Script Modifier and Type Field Description protected Script
TagSupport. body
the body of the tagMethods in org.apache.commons.jelly that return Script Modifier and Type Method Description Script
Script. compile()
Called by the parser to allow a more efficient representation of the script to be used.Script
Jelly. compileScript()
Compiles the scriptScript
JellyContext. compileScript(String uri)
Attempts to parse the script from the given uri using theJellyContext.getResource(java.lang.String)
method then returns the compiled script.Script
JellyContext. compileScript(URL url)
Attempts to parse the script from the given URL using theJellyContext.getResource(java.lang.String)
method then returns the compiled script.Script
JellyContext. compileScript(InputSource source)
Attempts to parse the script from the given InputSource using theJellyContext.getResource(java.lang.String)
method then returns the compiled script.Script
Tag. getBody()
Script
TagSupport. getBody()
Methods in org.apache.commons.jelly with parameters of type Script Modifier and Type Method Description void
Tag. setBody(Script body)
Sets the body of the tagvoid
TagSupport. setBody(Script body)
Sets the body of the tag -
Uses of Script in org.apache.commons.jelly.impl
Classes in org.apache.commons.jelly.impl that implement Script Modifier and Type Class Description class
CompositeTextScriptBlock
CompositeTextScriptBlock
represents a text body of a a tag which contains expressions, so that whitespace trimming can be handled differently.class
ExpressionScript
ExpressionScript
outputs the value of an expression as text.class
ScriptBlock
ScriptBlock
a block of scripts.class
StaticTagScript
StaticTagScript
is a script that evaluates a StaticTag, a piece of static XML though its attributes or element content may contain dynamic expressions.class
TagScript
TagScript
is a Script that evaluates a custom tag.class
TextScript
TextScript
outputs some static text.Methods in org.apache.commons.jelly.impl that return Script Modifier and Type Method Description Script
ExpressionScript. compile()
Script
ScriptBlock. compile()
Script
TagScript. compile()
Compiles the tags bodyScript
TextScript. compile()
Script
DynamicTagLibrary. getDynamicTag(String name)
Returns the script associated with the given tag nameScript
TagScript. getTagBody()
Returns the tagBody.Script
DynamicTag. getTemplate()
The template to be executed by this tag which may well invoke this instances body from inside the templateMethods in org.apache.commons.jelly.impl with parameters of type Script Modifier and Type Method Description void
ScriptBlock. addScript(Script script)
Add a new script to the end of this blockvoid
DynamicTagLibrary. registerDynamicTag(String name, Script template)
Creates a new tag with the given name and templatevoid
ScriptBlock. removeScript(Script script)
Removes a script from this blockvoid
TagScript. setTagBody(Script tagBody)
Sets the tagBody.void
DynamicTag. setTemplate(Script template)
Constructors in org.apache.commons.jelly.impl with parameters of type Script Constructor Description DynamicTag(Script template)
-
Uses of Script in org.apache.commons.jelly.parser
Methods in org.apache.commons.jelly.parser that return Script Modifier and Type Method Description Script
XMLParser. parse(File file)
Parse the content of the specified file using this XMLParser.Script
XMLParser. parse(InputStream input)
Parse the content of the specified input stream using this XMLParser.Script
XMLParser. parse(Reader reader)
Parse the content of the specified reader using this XMLParser.Script
XMLParser. parse(String uri)
Parse the content of the specified URI using this XMLParser.Script
XMLParser. parse(URL url)
Parse the content of the specified file using this XMLParser.Script
XMLParser. parse(InputSource input)
Parse the content of the specified input source using this XMLParser. -
Uses of Script in org.apache.commons.jelly.util
Methods in org.apache.commons.jelly.util with parameters of type Script Modifier and Type Method Description static void
TagUtils. trimScript(Script body)
Trims the whitespace from a script and its children.
-