Package org.ldaptive.schema
Interface SchemaFunction
- All Known Implementing Classes:
SchemaParser.DefaultSchemaFunction
,SchemaParser.RegexSchemaFunction
public interface SchemaFunction
Marker interface for a schema function.
-
Method Summary
Modifier and TypeMethodDescription<T extends SchemaElement>
TParses the supplied string representation of a schema element.
-
Method Details
-
parse
<T extends SchemaElement> T parse(Class<? extends T> type, 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
-