Class FormFunctionParser
- java.lang.Object
 - 
- de.xima.fc.placeholder.parser.form_function.FormFunctionParser
 
 
- 
public final class FormFunctionParser extends Object
Parses a form field function, used by placeholders and by the Word fill workflow action, e.g.val("foo").func1(abc | "d\r\r型" # def | 'bar').func2().- Since:
 - 7.4.0
 - Author:
 - XIMA MEDIA GmbH
 
 
- 
- 
Constructor Summary
Constructors Constructor Description FormFunctionParser() 
- 
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChainExpressionparseChainExpression(String expression)Attempts to parse the entire content of the string as a chain expression, which consists of multiple functions, chained together with a dot, e.g.static ValueTransformerparseValueTransformer(String expression)Attempts to parse the entire content of the string as a value transformer, i.e. 
 - 
 
- 
- 
Method Detail
- 
parseChainExpression
public static ChainExpression parseChainExpression(String expression) throws FormFunctionParseException
Attempts to parse the entire content of the string as a chain expression, which consists of multiple functions, chained together with a dot, e.g.tf1.lsttxt().rep(1|2)- Parameters:
 expression- Expression to parse.- Returns:
 - The parsed expression.
 - Throws:
 FormFunctionParseException- When the expression could not be parsed, i.e. because it is syntactically invalid.
 
- 
parseValueTransformer
public static ValueTransformer parseValueTransformer(String expression) throws FormFunctionParseException
Attempts to parse the entire content of the string as a value transformer, i.e. a single function with optional parameters, e.g.rep(1|2#3|4)- Parameters:
 expression- Expression to parse.- Returns:
 - The parsed expression.
 - Throws:
 FormFunctionParseException- When the expression could not be parsed, i.e. because it is syntactically invalid.
 
 - 
 
 -