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 TypeClassDescriptionclassCompositeExpressionis a Composite expression made up of several Expression objects which are concatenated into a single String.classConstantExpressionrepresents a constant expression.classExpressionSupportan 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 ExpressionExpression.NULLSingleton 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 ExpressionCompositeExpression.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 TypeMethodDescriptionvoidCompositeExpression.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 TypeClassDescriptionclassRepresents 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 TypeClassDescriptionclassAn 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 ExpressionTagScript.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 TypeMethodDescriptionvoidTagScript.addAttribute(String name, String prefix, String nsURI, Expression expression) Add an initialization attribute for the tag.voidTagScript.addAttribute(String name, Expression expression) Add an initialization attribute for the tag.voidAttribute.setDefaultValue(Expression defaultValue) Sets the defaultValue.voidExpressionScript.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 TypeClassDescriptionclassExpressionthat 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 ExpressionXMLParser.createConstantExpression(String tagName, String attributeName, String attributeValue) protected ExpressionXMLParser.createEscapingExpression(Expression expression) Methods in org.apache.commons.jelly.parser with parameters of type ExpressionModifier and TypeMethodDescriptionprotected voidXMLParser.addExpressionScript(ScriptBlock script, Expression expression) Adds the given Expression object to the current Script.protected ExpressionXMLParser.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 TypeMethodDescriptionvoidSetTag.setDefaultValue(Expression defaultValue) Deprecated.Sets the default value to be used if the value exprsesion results in a null value or blank StringvoidForEachTag.setItems(Expression items) Sets the expression used to iterate over.voidSwitchTag.setOn(Expression on) Sets the value to switch on.voidBreakTag.setTest(Expression test) Sets the Jelly expression to evaluate (optional).voidIfTag.setTest(Expression test) Deprecated.Sets the Jelly expression to evaluate.voidWhenTag.setTest(Expression test) Sets the expression to evaluate.voidWhileTag.setTest(Expression e) Setter for the expressionvoidCaseTag.setValue(Expression value) voidExprTag.setValue(Expression value) Sets the Jexl expression to evaluate.voidSetTag.setValue(Expression value) Deprecated.Sets the expression to evaluate.voidRemoveTag.setVar(Expression var) Sets the name of the variable which will be removed by this tag..