Uses of Class
org.apache.commons.jelly.JellyContext
Packages that use JellyContext
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.
-
Uses of JellyContext in org.apache.commons.jelly
Fields in org.apache.commons.jelly declared as JellyContextMethods in org.apache.commons.jelly that return JellyContextModifier and TypeMethodDescriptionprotected JellyContext
JellyContext.createChildContext()
Factory method to create a new child of this contextTag.getContext()
Gets the context in which the tag will be runTagSupport.getContext()
Jelly.getJellyContext()
The context to useJellyContext.getParent()
JellyContext.newJellyContext()
A factory method to create a new child context of the current context.JellyContext.newJellyContext
(Map newVariables) A factory method to create a new child context of the current context.Parses 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.Methods in org.apache.commons.jelly with parameters of type JellyContextModifier and TypeMethodDescriptionvoid
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 JellyContextModifierConstructorDescriptionJellyContext
(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 JellyContextModifier and TypeMethodDescriptionCompositeExpression.evaluate
(JellyContext context) ConstantExpression.evaluate
(JellyContext context) Evaluate expression against given context.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) CompositeExpression.evaluateAsIterator
(JellyContext context) Expression.evaluateAsIterator
(JellyContext context) Evaluates the expression with the given context coercing the result to be an Iterator.ExpressionSupport.evaluateAsIterator
(JellyContext context) CompositeExpression.evaluateAsString
(JellyContext context) Expression.evaluateAsString
(JellyContext context) Evaluates the expression with the given context coercing the result to be a String.ExpressionSupport.evaluateAsString
(JellyContext context) Expression.evaluateRecurse
(JellyContext context) This method evaluates the expression until a value (a non-Expression) object is returned.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 -
Uses of JellyContext in org.apache.commons.jelly.expression.xpath
Methods in org.apache.commons.jelly.expression.xpath with parameters of type JellyContext -
Uses of JellyContext in org.apache.commons.jelly.impl
Methods in org.apache.commons.jelly.impl that return JellyContextMethods in org.apache.commons.jelly.impl with parameters of type JellyContextModifier and TypeMethodDescriptionprotected 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.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 JellyContextMethods in org.apache.commons.jelly.parser with parameters of type JellyContextModifier and TypeMethodDescriptionEscapingExpression.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.servletMethods in org.apache.commons.jelly.servlet that return JellyContextModifier and TypeMethodDescriptionprotected JellyContext
JellyServletContext.createChildContext()
protected JellyContext
JellyServlet.createContext
(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) seeorg.apache.velocity.servlet.VelocityServlet#createContext
Methods in org.apache.commons.jelly.servlet with parameters of type JellyContextModifier 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
Constructors in org.apache.commons.jelly.servlet with parameters of type JellyContextModifierConstructorDescriptionJellyServletContext
(JellyContext parent, jakarta.servlet.ServletContext ctx) -
Uses of JellyContext in org.apache.commons.jelly.test
Methods in org.apache.commons.jelly.test that return JellyContext