Uses of Interface
org.apache.commons.jelly.expression.Expression
Packages that use Expression
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.
The core Tags from the JSTL plus Jelly extensions.
-
Uses of Expression in org.apache.commons.jelly
Methods in org.apache.commons.jelly that return ExpressionModifier and TypeMethodDescriptionTagLibrary.createExpression
(ExpressionFactory factory, TagScript tagScript, String attributeName, String attributeValue) Allows taglibs to use their own expression evaluation mechanism -
Uses of Expression in org.apache.commons.jelly.expression
Classes in org.apache.commons.jelly.expression that implement ExpressionModifier and TypeClassDescriptionclass
CompositeExpression
is a Composite expression made up of several Expression objects which are concatenated into a single String.class
ConstantExpression
represents a constant expression.class
ExpressionSupport
an abstract base class for Expression implementations which provides default implementations of some of the typesafe evaluation methods.Fields in org.apache.commons.jelly.expression declared as ExpressionModifier and TypeFieldDescriptionstatic final Expression
Expression.NULL
Singleton instance that represents the expression that evaluates to null.Methods in org.apache.commons.jelly.expression that return ExpressionModifier 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.Methods in org.apache.commons.jelly.expression with parameters of type ExpressionModifier and TypeMethodDescriptionvoid
CompositeExpression.addExpression
(Expression expression) Adds a new expression to the end of the expression list -
Uses of Expression in org.apache.commons.jelly.expression.jexl
Classes in org.apache.commons.jelly.expression.jexl that implement ExpressionModifier and TypeClassDescriptionclass
Represents a Jexl expression which fully supports the Expression Language in JSTL and JSP along with some extra features like object method invocation.Methods in org.apache.commons.jelly.expression.jexl that return Expression -
Uses of Expression in org.apache.commons.jelly.expression.xpath
Classes in org.apache.commons.jelly.expression.xpath that implement ExpressionModifier and TypeClassDescriptionclass
An expression which returns an XPath object.Constructors in org.apache.commons.jelly.expression.xpath with parameters of type ExpressionModifierConstructorDescriptionXPathExpression
(String text, Expression xpathExpr, TagScript tagScript) -
Uses of Expression in org.apache.commons.jelly.impl
Fields in org.apache.commons.jelly.impl declared as ExpressionMethods in org.apache.commons.jelly.impl that return ExpressionModifier and TypeMethodDescriptionprotected Expression
TagScript.getAttribute
(String name) Retrieves the expression of the given attribute name.Attribute.getDefaultValue()
Returns the defaultValue.ExpressionScript.getExpression()
Methods in org.apache.commons.jelly.impl with parameters of type ExpressionModifier and TypeMethodDescriptionvoid
TagScript.addAttribute
(String name, String prefix, String nsURI, Expression expression) Add an initialization attribute for the tag.void
TagScript.addAttribute
(String name, Expression expression) Add an initialization attribute for the tag.void
Attribute.setDefaultValue
(Expression defaultValue) Sets the defaultValue.void
ExpressionScript.setExpression
(Expression expression) Sets the expression evaluated as a String and output by this scriptConstructors in org.apache.commons.jelly.impl with parameters of type ExpressionModifierConstructorDescriptionExpressionAttribute
(String name, String prefix, String nsURI, Expression exp) ExpressionAttribute
(String name, Expression exp) ExpressionScript
(Expression expression) -
Uses of Expression in org.apache.commons.jelly.parser
Classes in org.apache.commons.jelly.parser that implement ExpressionModifier and TypeClassDescriptionclass
Expression
that escapes output so that the text can appear in the PCDATA portion of XML.Methods in org.apache.commons.jelly.parser that return ExpressionModifier and TypeMethodDescriptionprotected Expression
XMLParser.createConstantExpression
(String tagName, String attributeName, String attributeValue) protected Expression
XMLParser.createEscapingExpression
(Expression expression) Methods in org.apache.commons.jelly.parser with parameters of type ExpressionModifier and TypeMethodDescriptionprotected void
XMLParser.addExpressionScript
(ScriptBlock script, Expression expression) Adds the given Expression object to the current Script.protected Expression
XMLParser.createEscapingExpression
(Expression expression) Constructors in org.apache.commons.jelly.parser with parameters of type Expression -
Uses of Expression in org.apache.commons.jelly.tags.core
Methods in org.apache.commons.jelly.tags.core with parameters of type ExpressionModifier and TypeMethodDescriptionvoid
SetTag.setDefaultValue
(Expression defaultValue) Deprecated.Sets the default value to be used if the value exprsesion results in a null value or blank Stringvoid
ForEachTag.setItems
(Expression items) Sets the expression used to iterate over.void
SwitchTag.setOn
(Expression on) Sets the value to switch on.void
BreakTag.setTest
(Expression test) Sets the Jelly expression to evaluate (optional).void
IfTag.setTest
(Expression test) Deprecated.Sets the Jelly expression to evaluate.void
WhenTag.setTest
(Expression test) Sets the expression to evaluate.void
WhileTag.setTest
(Expression e) Setter for the expressionvoid
CaseTag.setValue
(Expression value) void
ExprTag.setValue
(Expression value) Sets the Jexl expression to evaluate.void
SetTag.setValue
(Expression value) Deprecated.Sets the expression to evaluate.void
RemoveTag.setVar
(Expression var) Sets the name of the variable which will be removed by this tag..