public class SchemaLoader extends Object
Modifier and Type | Field and Description |
---|---|
protected List<MatchingRule> |
matchingRulesToKeep
List of matching rules to keep in the schema.
|
protected List<Syntax> |
syntaxesToKeep
List of attribute syntaxes to keep in the schema.
|
Constructor and Description |
---|
SchemaLoader()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected Schema |
getBaseSchema()
Returns a basic version of the schema.
|
Schema |
getSchema()
Returns the schema that was read.
|
Schema |
readSchema()
Reads and returns the schema.
|
protected final List<MatchingRule> matchingRulesToKeep
public Schema readSchema() throws DirectoryException, ConfigException, InitializationException
ConfigException
- if an error occurs reading the schema.InitializationException
- if an error occurs trying to find out the schema files.DirectoryException
- if there is an error registering the minimal objectclasses.protected Schema getBaseSchema() throws DirectoryException
DirectoryException
- if there is an error registering the minimal objectclasses.public Schema getSchema()
Copyright 2010-2020 ForgeRock AS.