public class WorkspaceMatcher extends WildcardURIMatcher
Modifier and Type | Field and Description |
---|---|
static String |
IN_WORKSPACE_URL
The request attribute name where the current url inside the workspace is saved
|
static String |
WORKSPACE_NAME
The request attribute name where the current workspace is saved
|
static String |
WORKSPACE_THEME
The request attribute name where the current workspace theme name is saved
|
static String |
WORKSPACE_THEME_URL
The request attribute name where the current workspace theme url is saved
|
static String |
WORKSPACE_URI
The request attribute name where the current workspace uri is saved
|
Constructor and Description |
---|
WorkspaceMatcher() |
Modifier and Type | Method and Description |
---|---|
protected int |
getWildcardStartIndex()
In the wildcard expression where to find the first relevant information
|
protected Workspace |
getWorkspace(String workspaceName)
Get the selected workspace
|
Map |
match(String pattern,
Map objectModel,
Parameters parameters) |
getMatchString
enableLogging, getLogger, setupLogger, setupLogger, setupLogger
public static final String WORKSPACE_NAME
public static final String WORKSPACE_URI
public static final String IN_WORKSPACE_URL
public static final String WORKSPACE_THEME
public static final String WORKSPACE_THEME_URL
public WorkspaceMatcher()
protected int getWildcardStartIndex()
protected Workspace getWorkspace(String workspaceName)
workspaceName
- The workspace name to getpublic Map match(String pattern, Map objectModel, Parameters parameters) throws PatternException
match
in interface Matcher
match
in class AbstractWildcardMatcher
PatternException