public class FreeMarkerVariableExtractor extends Object
TemplateInput
parameters. Extraction is for now simple and system may not detect all the cases, but user is
able to add parameters from the UI.Modifier and Type | Field and Description |
---|---|
protected static Pattern[] |
assignMatchers |
protected static Pattern[] |
directiveMatchers |
protected static String[] |
freeMarkerVariableSuffix |
protected static List<String> |
reservedContextKeywords |
protected static Pattern |
simpleVariableMatcher |
protected static String[] |
spliters |
Constructor and Description |
---|
FreeMarkerVariableExtractor() |
Modifier and Type | Method and Description |
---|---|
protected static String |
extractVariableName(String match) |
static List<String> |
extractVariables(String content) |
protected static List<String> |
getreservedContextKeywords() |
static void |
resetReservedContextKeywords() |
protected static final Pattern simpleVariableMatcher
protected static final Pattern[] directiveMatchers
protected static final Pattern[] assignMatchers
protected static final List<String> reservedContextKeywords
protected static final String[] freeMarkerVariableSuffix
public FreeMarkerVariableExtractor()
protected static String extractVariableName(String match)
public static void resetReservedContextKeywords()
protected static List<String> getreservedContextKeywords()
public static List<String> extractVariables(String content)
Copyright © 2018 Nuxeo. All rights reserved.