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(CommonContext 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
Expressionexecute in interface ExpressionExpressionExceptionpublic java.lang.Class<?> getType()
ExpressiongetType in interface Expressionpublic java.lang.String getOpName()
ExpressiongetOpName in interface Expressionpublic Expression[] getChildren()
ExpressiongetChildren in interface Expressionpublic void connect(CommonContext context, InteractionListener updateListener)
Expressionconnect in interface Expressionpublic void disconnect()
Expressiondisconnect in interface Expressionpublic void startup()
Expressionstartup in interface Expressionpublic void shutdown()
Expressionshutdown in interface Expression