Package org.ldaptive.schema
Interface SchemaFunction
-
- All Known Implementing Classes:
SchemaParser.DefaultSchemaFunction,SchemaParser.RegexSchemaFunction
public interface SchemaFunctionMarker interface for a schema function.- Author:
- Middleware Services
-
-
Method Summary
All Methods Instance Methods Abstract 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
<T extends SchemaElement> T parse(java.lang.Class<? extends T> type, java.lang.String definition) throws SchemaParseException
Parses the supplied string representation of a schema element.- 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
-
-