Uses of Class
org.apache.commons.jelly.JellyException
-
Packages that use JellyException Package Description org.apache.commons.jelly This package contains the main jelly API classes.org.apache.commons.jelly.expression Implementations of the Expression classes using commons-jexl.org.apache.commons.jelly.expression.jexl Expressions used to turn the tag attribute values into compiled expression objects for languages such as Jexl, XPath, Velocity, beanshell, Rhino etc.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.servlet Classes for using Jelly on the Servlet platform.org.apache.commons.jelly.tags.core The core Tags from the JSTL plus Jelly extensions.org.apache.commons.jelly.util -
-
Uses of JellyException in org.apache.commons.jelly
Subclasses of JellyException in org.apache.commons.jelly Modifier and Type Class Description class
JellyTagException
AJellyTagException
is an exception generated by a Tag implementation.class
MissingAttributeException
JellyException
is the root of all Jelly exceptions.Methods in org.apache.commons.jelly that throw JellyException Modifier and Type Method Description void
CompilableTag. compile()
Called by the parser to allow a more tag to create a more efficient format of the tag.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.Expression
TagLibrary. createExpression(ExpressionFactory factory, TagScript tagScript, String attributeName, String attributeValue)
Allows taglibs to use their own expression evaluation mechanismTag
TagLibrary. createTag(String name, Attributes attributes)
Creates a new Tag for the given tag name and attributesTagScript
TagLibrary. createTagScript(String name, Attributes attributes)
Creates a new script to execute the given tag name and attributesJellyContext
JellyContext. runScript(File file, XMLOutput output)
Parses the script from the given File then compiles it and runs it.JellyContext
JellyContext. runScript(File file, XMLOutput output, boolean export, boolean inherit)
Parses the script from the given file then compiles it and runs it.JellyContext
JellyContext. runScript(String uri, XMLOutput output)
Parses the script from the given uri using the JellyContext.getResource() API then compiles it and runs it.JellyContext
JellyContext. runScript(String uri, XMLOutput output, boolean export, boolean inherit)
Parses the script from the given uri using the JellyContext.getResource() API then compiles it and runs it.JellyContext
JellyContext. runScript(URL url, XMLOutput output)
Parses the script from the given URL then compiles it and runs it.JellyContext
JellyContext. runScript(URL url, XMLOutput output, boolean export, boolean inherit)
Parses the script from the given URL then compiles it and runs it.JellyContext
JellyContext. runScript(InputSource source, XMLOutput output)
Parses the script from the given InputSource then compiles it and runs it.JellyContext
JellyContext. runScript(InputSource source, XMLOutput output, boolean export, boolean inherit)
Parses the script from the given InputSource then compiles it and runs it. -
Uses of JellyException in org.apache.commons.jelly.expression
Methods in org.apache.commons.jelly.expression that throw JellyException Modifier and Type Method Description Expression
ExpressionFactory. createExpression(String text)
Creates a new expression for the given textstatic Expression
CompositeExpression. parse(String text, ExpressionFactory factory)
Parses the given String to be either a ConstantExpression, an Expression denoted as "${foo}" or some String with embedded expressions such as "abc${something}def${else}xyz" which results in a CompositeExpression being returned. -
Uses of JellyException in org.apache.commons.jelly.expression.jexl
Methods in org.apache.commons.jelly.expression.jexl that throw JellyException Modifier and Type Method Description Expression
JexlExpressionFactory. createExpression(String text)
-
Uses of JellyException in org.apache.commons.jelly.impl
Subclasses of JellyException in org.apache.commons.jelly.impl Modifier and Type Class Description class
BreakException
BreakException
is used to terminate loops such as <forEach> and <while> tags.Methods in org.apache.commons.jelly.impl that return JellyException Modifier and Type Method Description protected JellyException
TagScript. createJellyException(String reason)
Creates a new Jelly exception, adorning it with location informationprotected JellyException
TagScript. createJellyException(String reason, Exception cause)
Creates a new Jelly exception, adorning it with location informationMethods in org.apache.commons.jelly.impl with parameters of type JellyException Modifier and Type Method Description protected void
TagScript. handleException(JellyException e)
A helper method to handle this Jelly exception.Methods in org.apache.commons.jelly.impl that throw JellyException Modifier and Type Method Description Script
ScriptBlock. compile()
Script
TagScript. compile()
Compiles the tags bodyprotected void
TagScript. configureTag(Tag tag, JellyContext context)
Compiles a newly created tag if required, sets its parent and body.protected Object
TagScript. convertType(Object value, Class requiredType)
Converts the given value to the required type.Tag
DefaultTagFactory. createTag(String name, Attributes attributes)
Tag
DynamicTagLibrary. createTag(String name, Attributes attributes)
Creates a new Tag for the given tag name if it existsprotected Tag
StaticTagScript. createTag()
Tag
TagFactory. createTag(String name, Attributes attributes)
Creates a Tag for the given local name and the SAX attributesprotected Tag
TagScript. createTag()
Factory method to create a new Tag instance.TagScript
DynamicTagLibrary. createTagScript(String name, Attributes attributes)
Creates a new script to execute the given tag name and attributesprotected Tag
StaticTagScript. findDynamicTag(JellyContext context, StaticTag tag)
Attempts to find a dynamically created tag that has been created since this script was compiledTag
TagScript. getTag(JellyContext context)
-
Uses of JellyException in org.apache.commons.jelly.parser
Methods in org.apache.commons.jelly.parser that throw JellyException Modifier and Type Method Description protected void
XMLParser. addTextScript(String text, boolean start)
Adds the text to the current script block parsing any embedded expressions into ExpressionScript objects.protected void
XMLParser. configureStaticTagAttributes(TagScript script, Attributes list)
-
Uses of JellyException in org.apache.commons.jelly.servlet
Methods in org.apache.commons.jelly.servlet that throw JellyException Modifier and Type Method Description protected void
JellyServlet. runScript(URL script, JellyContext context, javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
seeorg.apache.velocity.servlet.VelocityServlet#mergeTemplate
-
Uses of JellyException in org.apache.commons.jelly.tags.core
Methods in org.apache.commons.jelly.tags.core that throw JellyException Modifier and Type Method Description TagScript
CoreTagLibrary. createTagScript(String name, Attributes attributes)
-
Uses of JellyException in org.apache.commons.jelly.util
Methods in org.apache.commons.jelly.util that throw JellyException Modifier and Type Method Description void
CommandLineParser. invokeCommandLineJelly(String[] args)
Parse out the command line options and configure the give Jelly instance.
-