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