Class ToStringExpression
- java.lang.Object
-
- com.inductiveautomation.ignition.common.expressions.AbstractExpression
-
- com.inductiveautomation.ignition.common.expressions.ToStringExpression
-
- All Implemented Interfaces:
Expression
public class ToStringExpression extends AbstractExpression
Simply concatenates all sub expressions into a single string value. Very similar toNonLocalizedToStringExpression
, but does not make any special adjustments to the value. Also, unlike that expression type, this one uses the current locale as well.
-
-
Field Summary
-
Fields inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
children, context, updateListener
-
-
Constructor Summary
Constructors Constructor Description ToStringExpression()
ToStringExpression(java.util.Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QualifiedValue
execute()
Compute and return the value of this expressionjava.lang.String
getOpName()
Return a human-readable name for the operation that this expression performsjava.lang.Class<?>
getType()
Return the type that this expression will returnprotected java.lang.String
objToStr(java.lang.Object value)
-
Methods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpression
connect, disconnect, getChildren, setChildren, shutdown, startup
-
-
-
-
Method Detail
-
execute
@Nonnull public QualifiedValue execute() throws ExpressionException
Description copied from interface:Expression
Compute and return the value of this expression- Throws:
ExpressionException
-
getType
public java.lang.Class<?> getType()
Description copied from interface:Expression
Return the type that this expression will return
-
getOpName
public java.lang.String getOpName()
Description copied from interface:Expression
Return a human-readable name for the operation that this expression performs
-
objToStr
protected java.lang.String objToStr(java.lang.Object value)
-
-