public class DescriptionParsers
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
private org.apache.directory.api.ldap.model.schema.parsers.AttributeTypeDescriptionSchemaParser |
attributeTypeParser |
private org.apache.directory.api.ldap.model.schema.parsers.LdapComparatorDescriptionSchemaParser |
comparatorParser
The SchemaObject description's parsers
|
private org.apache.directory.api.ldap.model.schema.parsers.DitContentRuleDescriptionSchemaParser |
ditContentRuleParser |
private org.apache.directory.api.ldap.model.schema.parsers.DitStructureRuleDescriptionSchemaParser |
ditStructureRuleParser |
private static org.apache.directory.api.ldap.model.schema.AttributeType[] |
EMPTY_ATTRIBUTE_TYPES |
private static org.apache.directory.api.ldap.model.schema.parsers.LdapComparatorDescription[] |
EMPTY_COMPARATORS
Empty arrays of SchemaObjects
|
private static org.apache.directory.api.ldap.model.schema.DitContentRule[] |
EMPTY_DIT_CONTENT_RULES |
private static org.apache.directory.api.ldap.model.schema.DitStructureRule[] |
EMPTY_DIT_STRUCTURE_RULES |
private static org.apache.directory.api.ldap.model.schema.MatchingRuleUse[] |
EMPTY_MATCHING_RULE_USES |
private static org.apache.directory.api.ldap.model.schema.MatchingRule[] |
EMPTY_MATCHING_RULES |
private static org.apache.directory.api.ldap.model.schema.NameForm[] |
EMPTY_NAME_FORMS |
private static org.apache.directory.api.ldap.model.schema.parsers.NormalizerDescription[] |
EMPTY_NORMALIZERS |
private static org.apache.directory.api.ldap.model.schema.ObjectClass[] |
EMPTY_OBJECT_CLASSES |
private static org.apache.directory.api.ldap.model.schema.parsers.SyntaxCheckerDescription[] |
EMPTY_SYNTAX_CHECKERS |
private static org.apache.directory.api.ldap.model.schema.LdapSyntax[] |
EMPTY_SYNTAXES |
private org.apache.directory.api.ldap.model.schema.parsers.MatchingRuleDescriptionSchemaParser |
matchingRuleParser |
private org.apache.directory.api.ldap.model.schema.parsers.MatchingRuleUseDescriptionSchemaParser |
matchingRuleUseParser |
private org.apache.directory.api.ldap.model.schema.parsers.NameFormDescriptionSchemaParser |
nameFormParser |
private org.apache.directory.api.ldap.model.schema.parsers.NormalizerDescriptionSchemaParser |
normalizerParser |
private org.apache.directory.api.ldap.model.schema.parsers.ObjectClassDescriptionSchemaParser |
objectClassParser |
private org.apache.directory.api.ldap.model.schema.SchemaManager |
schemaManager
The SchemaManager instance
|
private org.apache.directory.api.ldap.model.schema.parsers.SyntaxCheckerDescriptionSchemaParser |
syntaxCheckerParser |
private org.apache.directory.api.ldap.model.schema.parsers.LdapSyntaxDescriptionSchemaParser |
syntaxParser |
| 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
|
private static final org.apache.directory.api.ldap.model.schema.parsers.LdapComparatorDescription[] EMPTY_COMPARATORS
private static final org.apache.directory.api.ldap.model.schema.parsers.NormalizerDescription[] EMPTY_NORMALIZERS
private static final org.apache.directory.api.ldap.model.schema.parsers.SyntaxCheckerDescription[] EMPTY_SYNTAX_CHECKERS
private static final org.apache.directory.api.ldap.model.schema.LdapSyntax[] EMPTY_SYNTAXES
private static final org.apache.directory.api.ldap.model.schema.MatchingRule[] EMPTY_MATCHING_RULES
private static final org.apache.directory.api.ldap.model.schema.AttributeType[] EMPTY_ATTRIBUTE_TYPES
private static final org.apache.directory.api.ldap.model.schema.ObjectClass[] EMPTY_OBJECT_CLASSES
private static final org.apache.directory.api.ldap.model.schema.MatchingRuleUse[] EMPTY_MATCHING_RULE_USES
private static final org.apache.directory.api.ldap.model.schema.DitStructureRule[] EMPTY_DIT_STRUCTURE_RULES
private static final org.apache.directory.api.ldap.model.schema.DitContentRule[] EMPTY_DIT_CONTENT_RULES
private static final org.apache.directory.api.ldap.model.schema.NameForm[] EMPTY_NAME_FORMS
private final org.apache.directory.api.ldap.model.schema.parsers.LdapComparatorDescriptionSchemaParser comparatorParser
private final org.apache.directory.api.ldap.model.schema.parsers.NormalizerDescriptionSchemaParser normalizerParser
private final org.apache.directory.api.ldap.model.schema.parsers.SyntaxCheckerDescriptionSchemaParser syntaxCheckerParser
private final org.apache.directory.api.ldap.model.schema.parsers.LdapSyntaxDescriptionSchemaParser syntaxParser
private final org.apache.directory.api.ldap.model.schema.parsers.MatchingRuleDescriptionSchemaParser matchingRuleParser
private final org.apache.directory.api.ldap.model.schema.parsers.AttributeTypeDescriptionSchemaParser attributeTypeParser
private final org.apache.directory.api.ldap.model.schema.parsers.ObjectClassDescriptionSchemaParser objectClassParser
private final org.apache.directory.api.ldap.model.schema.parsers.MatchingRuleUseDescriptionSchemaParser matchingRuleUseParser
private final org.apache.directory.api.ldap.model.schema.parsers.DitStructureRuleDescriptionSchemaParser ditStructureRuleParser
private final org.apache.directory.api.ldap.model.schema.parsers.DitContentRuleDescriptionSchemaParser ditContentRuleParser
private final org.apache.directory.api.ldap.model.schema.parsers.NameFormDescriptionSchemaParser nameFormParser
private final org.apache.directory.api.ldap.model.schema.SchemaManager schemaManager
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.LdapInvalidAttributeValueExceptionpublic 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.LdapInvalidAttributeValueExceptionpublic 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 descriptions