public class ExpressionScript extends Object implements Script
ExpressionScript outputs the value of an expression as text.
| Constructor and Description |
|---|
ExpressionScript() |
ExpressionScript(Expression expression) |
| Modifier and Type | Method and Description |
|---|---|
Script |
compile()
Called by the parser to allow a more efficient
representation of the script to be used.
|
Expression |
getExpression() |
void |
run(JellyContext context,
XMLOutput output)
Evaluates the body of a tag
|
void |
setExpression(Expression expression)
Sets the expression evaluated as a String and output by this script
|
String |
toString() |
public ExpressionScript()
public ExpressionScript(Expression expression)
public Expression getExpression()
public void setExpression(Expression expression)
public Script compile()
Scriptpublic void run(JellyContext context, XMLOutput output) throws JellyTagException
run in interface ScriptJellyTagExceptionCopyright © 2012 Apache Software Foundation. All Rights Reserved.