Package org.ldaptive.schema
Class ObjectClass.RegexDefinitionFunction
- java.lang.Object
-
- org.ldaptive.schema.AbstractRegexDefinitionFunction<ObjectClass>
-
- org.ldaptive.schema.ObjectClass.RegexDefinitionFunction
-
- All Implemented Interfaces:
DefinitionFunction<ObjectClass>
- Enclosing class:
- ObjectClass
public static class ObjectClass.RegexDefinitionFunction extends AbstractRegexDefinitionFunction<ObjectClass>
Parses an object class 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 ObjectClass
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 ObjectClass 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
-
-