Interface IVariableFinder
-
- All Known Implementing Classes:
ConfiguratorVariableFinder
,VariableFinder
public interface IVariableFinder
Finds all the occurrences of the variables
-
-
Field Summary
Fields Modifier and Type Field Description static String
CLOSING_FOR_VARIABLE
With this text variable endsstatic String
CLOSING_FOR_VARIABLE_FUNCTION
static String
OPENING_FOR_VARIABLE
With this text the variable startsstatic String
OPENING_FOR_VARIABLE_FUNCTION
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<IVariableOccurrence>
findVariables(String pattern)
Finds all the occurrences of the variables in the given pattern and parses them into IVariableData
-
-
-
Field Detail
-
OPENING_FOR_VARIABLE
static final String OPENING_FOR_VARIABLE
With this text the variable starts- See Also:
- Constant Field Values
-
CLOSING_FOR_VARIABLE
static final String CLOSING_FOR_VARIABLE
With this text variable ends- See Also:
- Constant Field Values
-
OPENING_FOR_VARIABLE_FUNCTION
static final String OPENING_FOR_VARIABLE_FUNCTION
- See Also:
- Constant Field Values
-
CLOSING_FOR_VARIABLE_FUNCTION
static final String CLOSING_FOR_VARIABLE_FUNCTION
- See Also:
- Constant Field Values
-
-
Method Detail
-
findVariables
List<IVariableOccurrence> findVariables(String pattern)
Finds all the occurrences of the variables in the given pattern and parses them into IVariableData- Parameters:
pattern
- The pattern to find variables, cannot benull
- Returns:
- The collection of variable occurrences for each variable occurrence, cannot be
null
-
-