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.AbstractExpressionchildren, context, updateListener
 
- 
 - 
Constructor SummaryConstructors Constructor Description ToStringExpression()ToStringExpression(java.util.Locale locale)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description QualifiedValueexecute()Compute and return the value of this expressionjava.lang.StringgetOpName()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.StringobjToStr(java.lang.Object value)- 
Methods inherited from class com.inductiveautomation.ignition.common.expressions.AbstractExpressionconnect, disconnect, getChildren, setChildren, shutdown, startup
 
- 
 
- 
- 
- 
Method Detail- 
execute@Nonnull public QualifiedValue execute() throws ExpressionException Description copied from interface:ExpressionCompute and return the value of this expression- Throws:
- ExpressionException
 
 - 
getTypepublic java.lang.Class<?> getType() Description copied from interface:ExpressionReturn the type that this expression will return
 - 
getOpNamepublic java.lang.String getOpName() Description copied from interface:ExpressionReturn a human-readable name for the operation that this expression performs
 - 
objToStrprotected java.lang.String objToStr(java.lang.Object value) 
 
- 
 
-