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.SpaceDefaultDelimiterExpansionProcessor
performs DefaultDelimiter expansion processing
and disambiguates : -
for offset and length from space for default delimiter.-
Constructor Summary
ConstructorDescriptionConstruct ainvalid @link
{@link SpaceDefaultDelimiterExpansionProcessor.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
canProcess
(String sMacro) Return true iffsMacro
contains the delimiter that this processor handles.process
(String sMacro, ParameterResolver resolver, int cDepth) Process macro parameter expansion onsMacro
containing 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
-
Constructor Details
-
SpaceDefaultDelimiterExpansionProcessor
public SpaceDefaultDelimiterExpansionProcessor()Construct ainvalid @link
{@link SpaceDefaultDelimiterExpansionProcessor.
-
-
Method Details
-
canProcess
Description copied from class:ValueMacroExpression.MacroExpansionProcessor
Return true iffsMacro
contains the delimiter that this processor handles.- Overrides:
canProcess
in classValueMacroExpression.DefaultDelimiterExpansionProcessor
- Parameters:
sMacro
- the macro parameter- Returns:
- true iff this processor can process
sMacro
-
process
Description copied from class:ValueMacroExpression.MacroExpansionProcessor
Process macro parameter expansion onsMacro
containing no registered delimiters.- Overrides:
process
in classValueMacroExpression.DefaultDelimiterExpansionProcessor
- Parameters:
sMacro
- a string starting withprefix
and ending withsuffix
resolver
- macro parameter ParameterResolvercDepth
- expansion depth- Returns:
- expanded macro parameter or emptry string if macro parameter evaluates to null
-