public class RegExpPathMacros extends BasePathMacros
| Modifier and Type | Field and Description |
|---|---|
protected java.util.regex.Pattern[] |
regexpPattern |
fixed, macrosCount, names, patterns| Constructor and Description |
|---|
RegExpPathMacros() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
init(java.lang.String actionPath,
java.lang.String[] separators)
Initializes
PathMacro and returns
true if macros are found in the action
path. |
protected boolean |
matchValue(int macroIndex,
java.lang.String value)
Matches the stripped value with the pattern.
|
extract, macrosCount, match, names, patternspublic boolean init(java.lang.String actionPath,
java.lang.String[] separators)
BasePathMacrosPathMacro and returns
true if macros are found in the action
path. Otherwise, returns false and
the instance can be thrown away.
Separators is array of 3 strings that defines: start, dividing string, and end of a macro.
init in interface PathMacrosinit in class BasePathMacrosprotected boolean matchValue(int macroIndex,
java.lang.String value)
BasePathMacrosmacroIndex is not null!matchValue in class BasePathMacrosCopyright © 2003-present Jodd Team