public class CmsRewriteAlias
extends java.lang.Object
| 构造器和说明 |
|---|
CmsRewriteAlias(CmsUUID id,
java.lang.String siteRoot,
java.lang.String patternString,
java.lang.String replacementString,
CmsAliasMode mode)
Creates a new instance.
|
| 限定符和类型 | 方法和说明 |
|---|---|
CmsUUID |
getId()
Gets the id of the alias.
|
CmsAliasMode |
getMode()
Gets the alias mode.
|
java.lang.String |
getPatternString()
Gets the regular expression string.
|
java.lang.String |
getReplacementString()
Gets the string used to replace the string matching the regex.
|
java.lang.String |
getSiteRoot()
Gets the root of the site in which this alias is valid.
|
public CmsRewriteAlias(CmsUUID id, java.lang.String siteRoot, java.lang.String patternString, java.lang.String replacementString, CmsAliasMode mode)
id - the id of the aliassiteRoot - the site root inside which the alias is validpatternString - the regular expression used for matching the URIreplacementString - the replacement string used when the URI is matchedmode - the alias modepublic CmsUUID getId()
public CmsAliasMode getMode()
public java.lang.String getPatternString()
public java.lang.String getReplacementString()
public java.lang.String getSiteRoot()