Uses of Class
org.apache.commons.jelly.JellyException
Packages that use JellyException
Package
Description
This package contains the main jelly API classes.
Implementations of the Expression classes using commons-jexl.
Expressions used to turn the tag attribute values into compiled expression objects for languages such as Jexl, XPath, Velocity, beanshell, Rhino etc.
Core implementation classes for Jelly.
Jelly parsers both XML syntax and non-XML syntaxes are supported.
Classes for using Jelly on the Servlet platform.
The core Tags from the JSTL plus Jelly extensions.
-
Uses of JellyException in org.apache.commons.jelly
Subclasses of JellyException in org.apache.commons.jellyModifier and TypeClassDescriptionclass
AJellyTagException
is an exception generated by a Tag implementation.class
JellyException
is the root of all Jelly exceptions.Methods in org.apache.commons.jelly that throw JellyExceptionModifier and TypeMethodDescriptionvoid
CompilableTag.compile()
Called by the parser to allow a more tag to create a more efficient format of the tag.Script.compile()
Called by the parser to allow a more efficient representation of the script to be used.Jelly.compileScript()
Compiles the scriptJellyContext.compileScript
(String uri) Attempts to parse the script from the given uri using theJellyContext.getResource(java.lang.String)
method then returns the compiled 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.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.TagLibrary.createExpression
(ExpressionFactory factory, TagScript tagScript, String attributeName, String attributeValue) Allows taglibs to use their own expression evaluation mechanismTagLibrary.createTag
(String name, Attributes attributes) Creates a new Tag for the given tag name and attributesTagLibrary.createTagScript
(String name, Attributes attributes) Creates a new script to execute the given tag name and attributesParses the script from the given File then compiles it and runs it.Parses the script from the given file then compiles it and runs it.Parses the script from the given uri using the JellyContext.getResource() API then compiles it and runs it.Parses the script from the given uri using the JellyContext.getResource() API then compiles it and runs it.Parses the script from the given URL then compiles it and runs it.Parses the script from the given URL then compiles it and runs it.JellyContext.runScript
(InputSource source, XMLOutput output) Parses the script from the given InputSource then compiles it and runs it.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 JellyExceptionModifier and TypeMethodDescriptionExpressionFactory.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 -
Uses of JellyException in org.apache.commons.jelly.impl
Subclasses of JellyException in org.apache.commons.jelly.implModifier and TypeClassDescriptionclass
BreakException
is used to terminate loops such as <forEach> and <while> tags.Methods in org.apache.commons.jelly.impl that return JellyExceptionModifier and TypeMethodDescriptionprotected 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 JellyExceptionModifier and TypeMethodDescriptionprotected void
TagScript.handleException
(JellyException e) A helper method to handle this Jelly exception.Methods in org.apache.commons.jelly.impl that throw JellyExceptionModifier and TypeMethodDescriptionScriptBlock.compile()
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.DefaultTagFactory.createTag
(String name, Attributes attributes) DynamicTagLibrary.createTag
(String name, Attributes attributes) Creates a new Tag for the given tag name if it existsprotected Tag
StaticTagScript.createTag()
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.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 compiledTagScript.getTag
(JellyContext context) -
Uses of JellyException in org.apache.commons.jelly.parser
Methods in org.apache.commons.jelly.parser that throw JellyExceptionModifier and TypeMethodDescriptionprotected 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 JellyExceptionModifier and TypeMethodDescriptionprotected void
JellyServlet.runScript
(URL script, JellyContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.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 JellyExceptionModifier and TypeMethodDescriptionCoreTagLibrary.createTagScript
(String name, Attributes attributes) -
Uses of JellyException in org.apache.commons.jelly.util
Methods in org.apache.commons.jelly.util that throw JellyExceptionModifier and TypeMethodDescriptionvoid
CommandLineParser.invokeCommandLineJelly
(String[] args) Parse out the command line options and configure the give Jelly instance.