Package org.ldaptive.schema
Class AbstractRegexDefinitionFunction<T extends SchemaElement>
java.lang.Object
org.ldaptive.schema.AbstractRegexDefinitionFunction<T>
- Type Parameters:
T
- type of schema element
- All Implemented Interfaces:
DefinitionFunction<T>
- Direct Known Subclasses:
AttributeType.RegexDefinitionFunction
,DITContentRule.RegexDefinitionFunction
,DITStructureRule.RegexDefinitionFunction
,MatchingRule.RegexDefinitionFunction
,MatchingRuleUse.RegexDefinitionFunction
,NameForm.RegexDefinitionFunction
,ObjectClass.RegexDefinitionFunction
,Syntax.RegexDefinitionFunction
public abstract class AbstractRegexDefinitionFunction<T extends SchemaElement>
extends Object
implements DefinitionFunction<T>
Base class for regex definition functions.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Extensions
parseExtensions
(String definition) Parses extensions from the supplied definition.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.ldaptive.schema.DefinitionFunction
parse
-
Field Details
-
WSP_REGEX
Regex to match zero or more spaces.- See Also:
-
ONE_WSP_REGEX
Regex to match one or more spaces.- See Also:
-
NO_WSP_REGEX
Regex to match one or more non spaces.- See Also:
-
EXTENSIONS_PATTERN
Pattern to match extensions.
-
-
Constructor Details
-
AbstractRegexDefinitionFunction
public AbstractRegexDefinitionFunction()
-
-
Method Details
-
parseExtensions
Parses extensions from the supplied definition.- Parameters:
definition
- that was parsed- Returns:
- extensions
-