Package org.wickedsource.docxstamper.el
Class ExpressionUtil
java.lang.Object
org.wickedsource.docxstamper.el.ExpressionUtil
Utility class for working with expressions in a text.
- Version:
- 1.6.6
- Author:
- Joseph Verron
-
Method Summary
Modifier and TypeMethodDescriptionFinds all processor expressions in a text and returns them as list.Finds all variable expressions in a text and returns them as list.
-
Method Details
-
findVariableExpressions
Finds all variable expressions in a text and returns them as list. Example expression: "${myObject.property}".- Parameters:
text- the text to find expressions in.- Returns:
- a list of expressions (including the starting "${" and trailing "}").
-
findProcessorExpressions
Finds all processor expressions in a text and returns them as list. Example expression: "#{myObject.property}".- Parameters:
text- the text to find expressions in.- Returns:
- a list of expressions (including the starting "#{" and trailing "}").
-