Uses of Class
org.apache.commons.jelly.JellyContext
-
Packages that use JellyContext 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.expression.xpath 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.test -
-
Uses of JellyContext in org.apache.commons.jelly
Fields in org.apache.commons.jelly declared as JellyContext Modifier and Type Field Description protected JellyContext
TagSupport. context
The current contextMethods in org.apache.commons.jelly that return JellyContext Modifier and Type Method Description protected JellyContext
JellyContext. createChildContext()
Factory method to create a new child of this contextJellyContext
Tag. getContext()
Gets the context in which the tag will be runJellyContext
TagSupport. getContext()
JellyContext
Jelly. getJellyContext()
The context to useJellyContext
JellyContext. getParent()
JellyContext
JellyContext. getScope(String name)
JellyContext
JellyContext. newJellyContext()
A factory method to create a new child context of the current context.JellyContext
JellyContext. newJellyContext(Map newVariables)
A factory method to create a new child context of the current context.JellyContext
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.Methods in org.apache.commons.jelly with parameters of type JellyContext Modifier and Type Method Description void
Script. run(JellyContext context, XMLOutput output)
Evaluates the body of a tagvoid
DynaBeanTagSupport. setContext(JellyContext context)
Sets the context in which the tag will be run.void
Tag. setContext(JellyContext context)
Sets the context in which the tag will be runvoid
TagSupport. setContext(JellyContext context)
Sets the context in which the tag will be runprotected void
JellyContext. setParent(JellyContext context)
Change the parent context to the one providedConstructors in org.apache.commons.jelly with parameters of type JellyContext Constructor Description JellyContext(JellyContext parent)
Create a new context with the given parent context.JellyContext(JellyContext parentJellyContext, URL currentURL)
Create a new context with the given parent context.JellyContext(JellyContext parentJellyContext, URL rootURL, URL currentURL)
Create a new context with the given parent context. -
Uses of JellyContext in org.apache.commons.jelly.expression
Methods in org.apache.commons.jelly.expression with parameters of type JellyContext Modifier and Type Method Description Object
CompositeExpression. evaluate(JellyContext context)
Object
ConstantExpression. evaluate(JellyContext context)
Evaluate expression against given context.Object
Expression. evaluate(JellyContext context)
Evaluates the expression with the given context and returns the resultboolean
Expression. evaluateAsBoolean(JellyContext context)
Evaluates the expression with the given context coercing the result to be a boolean.boolean
ExpressionSupport. evaluateAsBoolean(JellyContext context)
Iterator
CompositeExpression. evaluateAsIterator(JellyContext context)
Iterator
Expression. evaluateAsIterator(JellyContext context)
Evaluates the expression with the given context coercing the result to be an Iterator.Iterator
ExpressionSupport. evaluateAsIterator(JellyContext context)
String
CompositeExpression. evaluateAsString(JellyContext context)
String
Expression. evaluateAsString(JellyContext context)
Evaluates the expression with the given context coercing the result to be a String.String
ExpressionSupport. evaluateAsString(JellyContext context)
Object
Expression. evaluateRecurse(JellyContext context)
This method evaluates the expression until a value (a non-Expression) object is returned.Object
ExpressionSupport. evaluateRecurse(JellyContext context)
-
Uses of JellyContext in org.apache.commons.jelly.expression.jexl
Methods in org.apache.commons.jelly.expression.jexl with parameters of type JellyContext Modifier and Type Method Description Object
JexlExpression. evaluate(JellyContext context)
-
Uses of JellyContext in org.apache.commons.jelly.expression.xpath
Methods in org.apache.commons.jelly.expression.xpath with parameters of type JellyContext Modifier and Type Method Description Object
XPathExpression. evaluate(JellyContext context)
-
Uses of JellyContext in org.apache.commons.jelly.impl
Methods in org.apache.commons.jelly.impl that return JellyContext Modifier and Type Method Description JellyContext
Embedded. getContext()
Method getContext.Methods in org.apache.commons.jelly.impl with parameters of type JellyContext Modifier and Type Method Description protected void
TagScript. configureTag(Tag tag, JellyContext context)
Compiles a newly created tag if required, sets its parent and body.protected Tag
StaticTagScript. findDynamicTag(JellyContext context, StaticTag tag)
Attempts to find a dynamically created tag that has been created since this script was compiledprotected String
TagScript. getBodyText(JellyContext context, boolean shouldEscape)
Evaluates the body and obtains it as a string.Tag
TagScript. getTag(JellyContext context)
void
ExpressionScript. run(JellyContext context, XMLOutput output)
Evaluates the body of a tagvoid
ScriptBlock. run(JellyContext context, XMLOutput output)
Evaluates the body of a tagvoid
StaticTagScript. run(JellyContext context, XMLOutput output)
void
TagScript. run(JellyContext context, XMLOutput output)
Evaluates the body of a tagvoid
TextScript. run(JellyContext context, XMLOutput output)
Evaluates the body of a tagvoid
Embedded. setContext(JellyContext context)
Method setContext.protected void
TagScript. setContextURLs(JellyContext context)
Set the context's root and current URL if not presentprotected void
TagScript. setTag(Tag tag, JellyContext context)
Allows the script to set the tag instance to be used, such as in a StaticTagScript when a StaticTag is switched with a DynamicTag -
Uses of JellyContext in org.apache.commons.jelly.parser
Methods in org.apache.commons.jelly.parser that return JellyContext Modifier and Type Method Description JellyContext
XMLParser. getContext()
Methods in org.apache.commons.jelly.parser with parameters of type JellyContext Modifier and Type Method Description Object
EscapingExpression. evaluate(JellyContext context)
void
XMLParser. setContext(JellyContext context)
-
Uses of JellyContext in org.apache.commons.jelly.servlet
Subclasses of JellyContext in org.apache.commons.jelly.servlet Modifier and Type Class Description class
JellyServletContext
Methods in org.apache.commons.jelly.servlet that return JellyContext Modifier and Type Method Description protected JellyContext
JellyServletContext. createChildContext()
protected JellyContext
JellyServlet. createContext(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
seeorg.apache.velocity.servlet.VelocityServlet#createContext
Methods in org.apache.commons.jelly.servlet with parameters of type JellyContext 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
Constructors in org.apache.commons.jelly.servlet with parameters of type JellyContext Constructor Description JellyServletContext(JellyContext parent, javax.servlet.ServletContext ctx)
-
Uses of JellyContext in org.apache.commons.jelly.test
Methods in org.apache.commons.jelly.test that return JellyContext Modifier and Type Method Description protected JellyContext
BaseJellyTest. getJellyContext()
-