Package org.ldaptive.schema
Class MatchingRuleUse.RegexDefinitionFunction
- java.lang.Object
-
- org.ldaptive.schema.AbstractRegexDefinitionFunction<MatchingRuleUse>
-
- org.ldaptive.schema.MatchingRuleUse.RegexDefinitionFunction
-
- All Implemented Interfaces:
DefinitionFunction<MatchingRuleUse>
- Enclosing class:
- MatchingRuleUse
public static class MatchingRuleUse.RegexDefinitionFunction extends AbstractRegexDefinitionFunction<MatchingRuleUse>
Parses a matching rule use definition using a regular expression.
-
-
Field Summary
Fields Modifier and Type Field Description private static Pattern
DEFINITION_PATTERN
Pattern to match definitions.-
Fields inherited from class org.ldaptive.schema.AbstractRegexDefinitionFunction
NO_WSP_REGEX, ONE_WSP_REGEX, WSP_REGEX
-
-
Constructor Summary
Constructors Constructor Description RegexDefinitionFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MatchingRuleUse
parse(String definition)
Parses the supplied string representation of a schema element.-
Methods inherited from class org.ldaptive.schema.AbstractRegexDefinitionFunction
parseExtensions
-
-
-
-
Field Detail
-
DEFINITION_PATTERN
private static final Pattern DEFINITION_PATTERN
Pattern to match definitions.
-
-
Method Detail
-
parse
public MatchingRuleUse parse(String definition) throws SchemaParseException
Description copied from interface:DefinitionFunction
Parses the supplied string representation of a schema element.- Parameters:
definition
- to parse- Returns:
- parsed schema element
- Throws:
SchemaParseException
- if the supplied schema definition is invalid
-
-