public class FormattedExpression extends java.lang.Object implements Expression
Constructor and Description |
---|
FormattedExpression(Expression internalExpression,
java.lang.String pattern) |
Modifier and Type | Method and Description |
---|---|
void |
connect(BaseContext context,
InteractionListener updateListener)
Gives the expression a chance to connect itself to things, if necessary.
|
void |
disconnect()
Tells the expression to disconnect from anything it was connected to.
|
QualifiedValue |
execute()
Compute and return the value of this expression
|
Expression[] |
getChildren()
The children (if any) that this expression is dependent on for its execution
|
java.lang.String |
getOpName()
Return a human-readable name for the operation that this expression performs
|
java.lang.Class<?> |
getType()
Return the type that this expression will return
|
void |
shutdown()
Tells the expression to shutdown any polling operations.
|
void |
startup()
Tells the expression to startup any polling operations.
|
public FormattedExpression(Expression internalExpression, java.lang.String pattern)
public QualifiedValue execute() throws ExpressionException
Expression
execute
in interface Expression
ExpressionException
public java.lang.Class<?> getType()
Expression
getType
in interface Expression
public java.lang.String getOpName()
Expression
getOpName
in interface Expression
public Expression[] getChildren()
Expression
getChildren
in interface Expression
public void connect(BaseContext context, InteractionListener updateListener)
Expression
connect
in interface Expression
public void disconnect()
Expression
disconnect
in interface Expression
public void startup()
Expression
startup
in interface Expression
public void shutdown()
Expression
shutdown
in interface Expression