org.apache.commons.jelly.impl
public class ExpressionScript extends java.lang.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
|
java.lang.String |
toString() |
public ExpressionScript()
public ExpressionScript(Expression expression)
public java.lang.String toString()
toString
in class java.lang.Object
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. All Rights Reserved.