Class CmsRestrictionRuleParser
- java.lang.Object
-
- org.opencms.jsp.search.config.parser.simplesearch.preconfiguredrestrictions.CmsRestrictionRuleParser
-
public final class CmsRestrictionRuleParser extends java.lang.Object
Parser for restriction rules.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static CmsRestrictionRule
parseRule(java.lang.String rule)
Parses the provided restriction rule.
-
-
-
Method Detail
-
parseRule
public static CmsRestrictionRule parseRule(java.lang.String rule) throws CmsException
Parses the provided restriction rule.- Parameters:
rule
- the rule to parse.- Returns:
- the parsed rule.
- Throws:
CmsException
- thrown if the rule cannot be parsed.
-
-