Package org.ldaptive.schema
Class DITContentRule.RegexDefinitionFunction
java.lang.Object
org.ldaptive.schema.AbstractRegexDefinitionFunction<DITContentRule>
org.ldaptive.schema.DITContentRule.RegexDefinitionFunction
- All Implemented Interfaces:
DefinitionFunction<DITContentRule>
- Enclosing class:
- DITContentRule
public static class DITContentRule.RegexDefinitionFunction
extends AbstractRegexDefinitionFunction<DITContentRule>
Parses a DIT content rule definition using a regular expression.
-
Field Summary
FieldsFields inherited from class org.ldaptive.schema.AbstractRegexDefinitionFunction
NO_WSP_REGEX, ONE_WSP_REGEX, WSP_REGEX
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionParses the supplied string representation of a schema element.Methods inherited from class org.ldaptive.schema.AbstractRegexDefinitionFunction
parseExtensions
-
Field Details
-
DEFINITION_PATTERN
Pattern to match definitions.
-
-
Constructor Details
-
RegexDefinitionFunction
public RegexDefinitionFunction()
-
-
Method Details
-
parse
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
-