Package org.opencms.db
Class CmsRewriteAlias
java.lang.Object
org.opencms.db.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
ConstructorDescriptionCmsRewriteAlias
(CmsUUID id, String siteRoot, String patternString, String replacementString, CmsAliasMode mode) Creates a new instance. -
Method Summary
-
Constructor Details
-
Method Details
-
getId
Gets the id of the alias.- Returns:
- the id of the alias
-
getMode
Gets the alias mode.- Returns:
- the alias mode
-
getPatternString
Gets the regular expression string.- Returns:
- the regular expression string
-
getReplacementString
Gets the string used to replace the string matching the regex.- Returns:
- the replacement string
-
getSiteRoot
Gets the root of the site in which this alias is valid.- Returns:
- the site root
-