Package org.apache.commons.jelly.parser
Class EscapingExpression
- java.lang.Object
-
- org.apache.commons.jelly.expression.ExpressionSupport
-
- org.apache.commons.jelly.parser.EscapingExpression
-
- All Implemented Interfaces:
Expression
public class EscapingExpression extends ExpressionSupport
Expression
that escapes output so that the text can appear in the PCDATA portion of XML.- Author:
- Kohsuke Kawaguchi
-
-
Field Summary
-
Fields inherited from class org.apache.commons.jelly.expression.ExpressionSupport
EMPTY_ITERATOR
-
Fields inherited from interface org.apache.commons.jelly.expression.Expression
NULL
-
-
Constructor Summary
Constructors Constructor Description EscapingExpression(Expression base)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
evaluate(JellyContext context)
Evaluates the expression with the given context and returns the resultString
getExpressionText()
-
Methods inherited from class org.apache.commons.jelly.expression.ExpressionSupport
evaluateAsBoolean, evaluateAsIterator, evaluateAsString, evaluateRecurse
-
-
-
-
Constructor Detail
-
EscapingExpression
public EscapingExpression(Expression base)
-
-
Method Detail
-
getExpressionText
public String getExpressionText()
- Returns:
- the textual representation of this expression
-
evaluate
public Object evaluate(JellyContext context)
Description copied from interface:Expression
Evaluates the expression with the given context and returns the result
-
-