public class DescriptionParsers extends Object
Constructor and Description |
---|
DescriptionParsers(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
Creates a description parser.
|
Modifier and Type | Method and Description |
---|---|
org.apache.directory.api.ldap.model.schema.AttributeType[] |
parseAttributeTypes(org.apache.directory.api.ldap.model.entry.Attribute attr)
Parses a set of attributeTypeDescriptions held within an attribute into
schema entities.
|
org.apache.directory.api.ldap.model.schema.parsers.LdapComparatorDescription[] |
parseComparators(org.apache.directory.api.ldap.model.entry.Attribute attr) |
org.apache.directory.api.ldap.model.schema.DitContentRule[] |
parseDitContentRules(org.apache.directory.api.ldap.model.entry.Attribute attr)
Parses a set of dITContentRuleDescriptions held within an attribute into
schema entities.
|
org.apache.directory.api.ldap.model.schema.DitStructureRule[] |
parseDitStructureRules(org.apache.directory.api.ldap.model.entry.Attribute attr)
Parses a set of dITStructureRuleDescriptions held within an attribute into
schema entities.
|
org.apache.directory.api.ldap.model.schema.LdapSyntax[] |
parseLdapSyntaxes(org.apache.directory.api.ldap.model.entry.Attribute attr)
Parses a set of ldapSyntaxes held within an attribute into
schema entities.
|
org.apache.directory.api.ldap.model.schema.MatchingRule[] |
parseMatchingRules(org.apache.directory.api.ldap.model.entry.Attribute attr)
Parses a set of matchingRuleDescriptions held within an attribute into
schema entities.
|
org.apache.directory.api.ldap.model.schema.MatchingRuleUse[] |
parseMatchingRuleUses(org.apache.directory.api.ldap.model.entry.Attribute attr)
Parses a set of matchingRuleUseDescriptions held within an attribute into
schema entities.
|
org.apache.directory.api.ldap.model.schema.NameForm[] |
parseNameForms(org.apache.directory.api.ldap.model.entry.Attribute attr)
Parses a set of nameFormDescriptions held within an attribute into
schema entities.
|
org.apache.directory.api.ldap.model.schema.parsers.NormalizerDescription[] |
parseNormalizers(org.apache.directory.api.ldap.model.entry.Attribute attr) |
org.apache.directory.api.ldap.model.schema.ObjectClass[] |
parseObjectClasses(org.apache.directory.api.ldap.model.entry.Attribute attr)
Parses a set of objectClassDescriptions held within an attribute into
schema entities.
|
org.apache.directory.api.ldap.model.schema.parsers.SyntaxCheckerDescription[] |
parseSyntaxCheckers(org.apache.directory.api.ldap.model.entry.Attribute attr)
Parse the SyntaxCheckers description
|
public DescriptionParsers(org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager)
schemaManager
- The server schemaManager to use while creating new schema entitiespublic org.apache.directory.api.ldap.model.schema.parsers.SyntaxCheckerDescription[] parseSyntaxCheckers(org.apache.directory.api.ldap.model.entry.Attribute attr) throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
attr
- The attribute containing the SC descriptionorg.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
- If something went wrongpublic org.apache.directory.api.ldap.model.schema.parsers.NormalizerDescription[] parseNormalizers(org.apache.directory.api.ldap.model.entry.Attribute attr) throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
public org.apache.directory.api.ldap.model.schema.parsers.LdapComparatorDescription[] parseComparators(org.apache.directory.api.ldap.model.entry.Attribute attr) throws org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
org.apache.directory.api.ldap.model.exception.LdapInvalidAttributeValueException
public org.apache.directory.api.ldap.model.schema.AttributeType[] parseAttributeTypes(org.apache.directory.api.ldap.model.entry.Attribute attr) throws org.apache.directory.api.ldap.model.exception.LdapException
attr
- the attribute containing attributeTypeDescriptionsorg.apache.directory.api.ldap.model.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.api.ldap.model.schema.ObjectClass[] parseObjectClasses(org.apache.directory.api.ldap.model.entry.Attribute attr) throws org.apache.directory.api.ldap.model.exception.LdapException
attr
- the attribute containing objectClassDescriptionsorg.apache.directory.api.ldap.model.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.api.ldap.model.schema.MatchingRuleUse[] parseMatchingRuleUses(org.apache.directory.api.ldap.model.entry.Attribute attr) throws org.apache.directory.api.ldap.model.exception.LdapException
attr
- the attribute containing matchingRuleUseDescriptionsorg.apache.directory.api.ldap.model.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.api.ldap.model.schema.LdapSyntax[] parseLdapSyntaxes(org.apache.directory.api.ldap.model.entry.Attribute attr) throws org.apache.directory.api.ldap.model.exception.LdapException
attr
- the attribute containing ldapSyntaxesorg.apache.directory.api.ldap.model.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.api.ldap.model.schema.MatchingRule[] parseMatchingRules(org.apache.directory.api.ldap.model.entry.Attribute attr) throws org.apache.directory.api.ldap.model.exception.LdapException
attr
- the attribute containing matchingRuleDescriptionsorg.apache.directory.api.ldap.model.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.api.ldap.model.schema.DitStructureRule[] parseDitStructureRules(org.apache.directory.api.ldap.model.entry.Attribute attr) throws org.apache.directory.api.ldap.model.exception.LdapException
attr
- the attribute containing dITStructureRuleDescriptionsorg.apache.directory.api.ldap.model.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.api.ldap.model.schema.DitContentRule[] parseDitContentRules(org.apache.directory.api.ldap.model.entry.Attribute attr) throws org.apache.directory.api.ldap.model.exception.LdapException
attr
- the attribute containing dITContentRuleDescriptionsorg.apache.directory.api.ldap.model.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.api.ldap.model.schema.NameForm[] parseNameForms(org.apache.directory.api.ldap.model.entry.Attribute attr) throws org.apache.directory.api.ldap.model.exception.LdapException
attr
- the attribute containing nameFormDescriptionsorg.apache.directory.api.ldap.model.exception.LdapException
- if there are problems parsing the descriptionsCopyright © 2003–2020 The Apache Software Foundation. All rights reserved.