Package org.ldaptive.schema
Class SchemaParser.RegexSchemaFunction
- java.lang.Object
-
- org.ldaptive.schema.SchemaParser.RegexSchemaFunction
-
- All Implemented Interfaces:
SchemaFunction
- Enclosing class:
- SchemaParser
public static class SchemaParser.RegexSchemaFunction extends java.lang.Object implements SchemaFunction
Regular expression based implementation for schema functions.
-
-
Constructor Summary
Constructors Constructor Description RegexSchemaFunction()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description <T extends SchemaElement>
Tparse(java.lang.Class<? extends T> type, java.lang.String definition)Parses the supplied string representation of a schema element.
-
-
-
Method Detail
-
parse
public <T extends SchemaElement> T parse(java.lang.Class<? extends T> type, java.lang.String definition) throws SchemaParseException
Description copied from interface:SchemaFunctionParses the supplied string representation of a schema element.- Specified by:
parsein interfaceSchemaFunction- Type Parameters:
T- type of schema element- Parameters:
type- class type of schema elementdefinition- to parse- Returns:
- parsed schema element
- Throws:
SchemaParseException- if the supplied schema definition is invalid
-
-