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 JellyContextJellyContext.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 TypeMethodDescriptionvoidScript.run(JellyContext context, XMLOutput output) Evaluates the body of a tagvoidDynaBeanTagSupport.setContext(JellyContext context) Sets the context in which the tag will be run.voidTag.setContext(JellyContext context) Sets the context in which the tag will be runvoidTagSupport.setContext(JellyContext context) Sets the context in which the tag will be runprotected voidJellyContext.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 resultbooleanExpression.evaluateAsBoolean(JellyContext context) Evaluates the expression with the given context coercing the result to be a boolean.booleanExpressionSupport.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 voidTagScript.configureTag(Tag tag, JellyContext context) Compiles a newly created tag if required, sets its parent and body.protected TagStaticTagScript.findDynamicTag(JellyContext context, StaticTag tag) Attempts to find a dynamically created tag that has been created since this script was compiledprotected StringTagScript.getBodyText(JellyContext context, boolean shouldEscape) Evaluates the body and obtains it as a string.TagScript.getTag(JellyContext context) voidExpressionScript.run(JellyContext context, XMLOutput output) Evaluates the body of a tagvoidScriptBlock.run(JellyContext context, XMLOutput output) Evaluates the body of a tagvoidStaticTagScript.run(JellyContext context, XMLOutput output) voidTagScript.run(JellyContext context, XMLOutput output) Evaluates the body of a tagvoidTextScript.run(JellyContext context, XMLOutput output) Evaluates the body of a tagvoidEmbedded.setContext(JellyContext context) Method setContext.protected voidTagScript.setContextURLs(JellyContext context) Set the context's root and current URL if not presentprotected voidTagScript.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) voidXMLParser.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 JellyContextJellyServletContext.createChildContext()protected JellyContextJellyServlet.createContext(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) seeorg.apache.velocity.servlet.VelocityServlet#createContextMethods in org.apache.commons.jelly.servlet with parameters of type JellyContextModifier and TypeMethodDescriptionprotected voidJellyServlet.runScript(URL script, JellyContext context, jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) seeorg.apache.velocity.servlet.VelocityServlet#mergeTemplateConstructors 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