|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectorg.opencms.db.CmsRewriteAlias
public class CmsRewriteAlias
This class represents an alias which does not just map a fixed path to a fixed resource, but instead uses a regular expression substitution to determine the target path.
| Constructor Summary | |
|---|---|
CmsRewriteAlias(CmsUUID id,
java.lang.String siteRoot,
java.lang.String patternString,
java.lang.String replacementString,
CmsAliasMode mode)
Creates a new instance. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
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 mode| Method Detail |
|---|
public CmsUUID getId()
public CmsAliasMode getMode()
public java.lang.String getPatternString()
public java.lang.String getReplacementString()
public java.lang.String getSiteRoot()
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||