Package com.tangosol.config.expression
Class ValueMacroExpression.SpaceDefaultDelimiterExpansionProcessor
- java.lang.Object
-
- com.tangosol.config.expression.ValueMacroExpression.MacroExpansionProcessor
-
- com.tangosol.config.expression.ValueMacroExpression.DefaultDelimiterExpansionProcessor
-
- com.tangosol.config.expression.ValueMacroExpression.SpaceDefaultDelimiterExpansionProcessor
-
- Enclosing class:
- ValueMacroExpression
protected static class ValueMacroExpression.SpaceDefaultDelimiterExpansionProcessor extends ValueMacroExpression.DefaultDelimiterExpansionProcessor
ValueMacroExpression.SpaceDefaultDelimiterExpansionProcessorperforms DefaultDelimiter expansion processing and disambiguates: -for offset and length from space for default delimiter.
-
-
Constructor Summary
Constructors Constructor Description SpaceDefaultDelimiterExpansionProcessor()Construct a {@link SpaceDefaultDelimiterExpansionProcessor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanProcess(String sMacro)Return true iffsMacrocontains the delimiter that this processor handles.Stringprocess(String sMacro, ParameterResolver resolver, int cDepth)Process macro parameter expansion onsMacrocontaining no registered delimiters.-
Methods inherited from class com.tangosol.config.expression.ValueMacroExpression.DefaultDelimiterExpansionProcessor
getDelimiter
-
Methods inherited from class com.tangosol.config.expression.ValueMacroExpression.MacroExpansionProcessor
validateMacroExpansion
-
-
-
-
Method Detail
-
canProcess
public boolean canProcess(String sMacro)
Description copied from class:ValueMacroExpression.MacroExpansionProcessorReturn true iffsMacrocontains the delimiter that this processor handles.- Overrides:
canProcessin classValueMacroExpression.DefaultDelimiterExpansionProcessor- Parameters:
sMacro- the macro parameter- Returns:
- true iff this processor can process
sMacro
-
process
public String process(String sMacro, ParameterResolver resolver, int cDepth)
Description copied from class:ValueMacroExpression.MacroExpansionProcessorProcess macro parameter expansion onsMacrocontaining no registered delimiters.- Overrides:
processin classValueMacroExpression.DefaultDelimiterExpansionProcessor- Parameters:
sMacro- a string starting withprefixand ending withsuffixresolver- macro parameter ParameterResolvercDepth- expansion depth- Returns:
- expanded macro parameter or emptry string if macro parameter evaluates to null
-
-