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()
Script
public void run(JellyContext context, XMLOutput output) throws JellyTagException
run
in interface Script
JellyTagException
Copyright © 2014 Apache Software Foundation. All rights reserved.