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.tags.core |
The core Tags from the JSTL plus Jelly extensions.
|
org.apache.commons.jelly.tags.define |
Tag library which allows the creation of new tags using Jelly script itself.
|
org.apache.commons.jelly.tags.dynabean |
A tag library for creating new DynaClass and DynaBean objects from the
beanutils library
|
org.apache.commons.jelly.tags.fmt | |
org.apache.commons.jelly.tags.junit |
A collection of JUnit tags for
performing unit tests written in Jelly script.
|
org.apache.commons.jelly.tags.xml |
The XML Tags from the JSTL
|
Modifier and Type | Method and Description |
---|---|
Expression |
TagLibrary.createExpression(ExpressionFactory factory,
TagScript tagScript,
java.lang.String attributeName,
java.lang.String attributeValue)
Allows taglibs to use their own expression evaluation mechanism
|
Modifier and Type | Class and Description |
---|---|
class |
CompositeExpression
CompositeExpression is a Composite expression made up of several
Expression objects which are concatenated into a single String. |
class |
ConstantExpression
ConstantExpression represents a constant expression. |
class |
ExpressionSupport
ExpressionSupport
an abstract base class for Expression implementations
which provides default implementations of some of the
typesafe evaluation methods. |
Modifier and Type | Field and Description |
---|---|
static Expression |
Expression.NULL
Singleton instance that represents the expression that evaluates to null.
|
Modifier and Type | Method and Description |
---|---|
Expression |
ExpressionFactory.createExpression(java.lang.String text)
Creates a new expression for the given text
|
static Expression |
CompositeExpression.parse(java.lang.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.
|
Modifier and Type | Method and Description |
---|---|
void |
CompositeExpression.addExpression(Expression expression)
Adds a new expression to the end of the expression list
|
Modifier and Type | Class and Description |
---|---|
class |
JexlExpression
Represents a Jexl
expression which fully supports the Expression Language in JSTL and JSP
along with some extra features like object method invocation.
|
Modifier and Type | Method and Description |
---|---|
Expression |
JexlExpressionFactory.createExpression(java.lang.String text) |
Modifier and Type | Class and Description |
---|---|
class |
XPathExpression
An expression which returns an XPath object.
|
Constructor and Description |
---|
XPathExpression(java.lang.String text,
Expression xpathExpr,
TagScript tagScript) |
Modifier and Type | Field and Description |
---|---|
Expression |
ExpressionAttribute.exp |
Modifier and Type | Method and Description |
---|---|
protected Expression |
TagScript.getAttribute(java.lang.String name)
Retrieves the expression of the given attribute name.
|
Expression |
Attribute.getDefaultValue()
Returns the defaultValue.
|
Expression |
ExpressionScript.getExpression() |
Modifier and Type | Method and Description |
---|---|
void |
TagScript.addAttribute(java.lang.String name,
Expression expression)
Add an initialization attribute for the tag.
|
void |
TagScript.addAttribute(java.lang.String name,
java.lang.String prefix,
java.lang.String nsURI,
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 script
|
Constructor and Description |
---|
ExpressionAttribute(java.lang.String name,
Expression exp) |
ExpressionAttribute(java.lang.String name,
java.lang.String prefix,
java.lang.String nsURI,
Expression exp) |
ExpressionScript(Expression expression) |
Modifier and Type | Class and Description |
---|---|
class |
EscapingExpression
Expression that escapes output so that the text can appear in the PCDATA portion of XML. |
Modifier and Type | Method and Description |
---|---|
protected Expression |
XMLParser.createConstantExpression(java.lang.String tagName,
java.lang.String attributeName,
java.lang.String attributeValue) |
protected Expression |
XMLParser.createEscapingExpression(Expression expression) |
Modifier and Type | Method and Description |
---|---|
protected void |
XMLParser.addExpressionScript(ScriptBlock script,
Expression expression)
Adds the given Expression object to the current Script.
|
protected Expression |
XMLParser.createEscapingExpression(Expression expression) |
Constructor and Description |
---|
EscapingExpression(Expression base) |
Modifier and Type | Method and Description |
---|---|
void |
SetTag.setDefaultValue(Expression defaultValue)
Deprecated.
Sets the default value to be used if the value exprsesion results
in a null value or blank String
|
void |
ForEachTag.setItems(Expression items)
Sets the expression used to iterate over.
|
void |
SwitchTag.setOn(Expression on)
Sets the value to switch on.
|
void |
WhenTag.setTest(Expression test)
Sets the expression to evaluate.
|
void |
IfTag.setTest(Expression test)
Deprecated.
Sets the Jelly expression to evaluate.
|
void |
BreakTag.setTest(Expression test)
Sets the Jelly expression to evaluate (optional).
|
void |
WhileTag.setTest(Expression e)
Setter for the expression
|
void |
SetTag.setValue(Expression value)
Deprecated.
Sets the expression to evaluate.
|
void |
CaseTag.setValue(Expression value) |
void |
ExprTag.setValue(Expression value)
Sets the Jexl expression to evaluate.
|
void |
RemoveTag.setVar(Expression var)
Sets the name of the variable which will be removed by this tag..
|
Modifier and Type | Method and Description |
---|---|
void |
AttributeTag.setDefaultValue(Expression defaultValue)
Sets the default value of this attribute
|
Modifier and Type | Method and Description |
---|---|
void |
SetTag.setValue(Expression value)
Sets the expression to evaluate.
|
Modifier and Type | Method and Description |
---|---|
void |
BundleTag.setBasename(Expression basename)
Setter for property basename.
|
void |
SetBundleTag.setBasename(Expression basename) |
void |
MessageTag.setBundle(Expression bundle)
Setter for property bundle.
|
void |
FormatDateTag.setDateStyle(Expression dateStyle)
Setter for property dataStyle.
|
void |
MessageTag.setKey(Expression key)
Setter for property key.
|
void |
FormatDateTag.setPattern(Expression pattern)
Setter for property pattern.
|
void |
BundleTag.setPrefix(Expression prefix)
Setter for property prefix.
|
void |
FormatDateTag.setTimeStyle(Expression timeStyle)
Setter for property timeStyle.
|
void |
FormatDateTag.setTimeZone(Expression timeZone)
Setter for property timeZone.
|
void |
FormatDateTag.setType(Expression type)
Setter for property type.
|
void |
SetLocaleTag.setValue(Expression value) |
void |
ParamTag.setValue(Expression value)
Setter for property value.
|
void |
FormatDateTag.setValue(Expression value)
Setter for property value.
|
void |
TimeZoneTag.setValue(Expression value)
Setter for property value.
|
void |
SetTimeZoneTag.setValue(Expression value) |
void |
SetLocaleTag.setVariant(Expression variant) |
Modifier and Type | Method and Description |
---|---|
Expression |
JUnitTagLibrary.createExpression(ExpressionFactory factory,
TagScript tagScript,
java.lang.String attributeName,
java.lang.String attributeValue) |
Modifier and Type | Method and Description |
---|---|
void |
AssertEqualsTag.setActual(Expression actual)
Sets the actual value which will be compared against the
expected value.
|
void |
AssertEqualsTag.setExpected(Expression expected)
Sets the expected value to be tested against
|
void |
AssertTag.setTest(Expression test)
Sets the boolean expression to evaluate.
|
Modifier and Type | Method and Description |
---|---|
Expression |
XMLTagLibrary.createExpression(ExpressionFactory factory,
TagScript tagScript,
java.lang.String attributeName,
java.lang.String attributeValue) |
protected Expression |
XMLTagLibrary.createXPathTextExpression(java.lang.String exprText) |
Copyright © 2014. All Rights Reserved.