Class LocaleAwareMessageParseContext
java.lang.Object
com.inductiveautomation.ignition.gateway.expressions.LocaleAwareMessageParseContext
- All Implemented Interfaces:
- ExpressionParseContext
This parse context results in expressions that only evaluate to strings, and do so in a way that respects the
 provided locale, as much as possible. It is meant for use with the 
StringParser, which builds messages that
 reference other things.- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionprotected classThis wraps up the normal expression in order to toString the result in a locale appropriate way.
- 
Constructor SummaryConstructorsConstructorDescriptionLocaleAwareMessageParseContext(ExpressionParseContext delegate, Locale locale) 
- 
Method SummaryModifier and TypeMethodDescriptioncreateBoundExpression(String path) Called to create expressions to represent bound elements, like:
- 
Constructor Details- 
LocaleAwareMessageParseContext
 
- 
- 
Method Details- 
createBoundExpressionDescription copied from interface:ExpressionParseContextCalled to create expressions to represent bound elements, like:{ path.to.something }- Specified by:
- createBoundExpressionin interface- ExpressionParseContext
- Parameters:
- path- the text content inside the braces.
- Throws:
- RuntimeException- because the CUP parser doesn't have a throws on the function that calls this inside the parser
 
- 
getFunctionFactory- Specified by:
- getFunctionFactoryin interface- ExpressionParseContext
 
 
-