|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.directory.server.core.schema.DescriptionParsers
public class DescriptionParsers
Parses descriptions using a number of different parsers for schema descriptions. Also checks to make sure some things are valid as it's parsing paramters of certain entity types.
Constructor Summary | |
---|---|
DescriptionParsers(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager)
Creates a description parser. |
Method Summary | |
---|---|
org.apache.directory.shared.ldap.schema.AttributeType[] |
parseAttributeTypes(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
Parses a set of attributeTypeDescriptions held within an attribute into schema entities. |
org.apache.directory.shared.ldap.schema.parsers.LdapComparatorDescription[] |
parseComparators(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
|
org.apache.directory.shared.ldap.schema.DITContentRule[] |
parseDitContentRules(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
Parses a set of dITContentRuleDescriptions held within an attribute into schema entities. |
org.apache.directory.shared.ldap.schema.DITStructureRule[] |
parseDitStructureRules(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
Parses a set of dITStructureRuleDescriptions held within an attribute into schema entities. |
org.apache.directory.shared.ldap.schema.LdapSyntax[] |
parseLdapSyntaxes(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
Parses a set of ldapSyntaxes held within an attribute into schema entities. |
org.apache.directory.shared.ldap.schema.MatchingRule[] |
parseMatchingRules(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
Parses a set of matchingRuleDescriptions held within an attribute into schema entities. |
org.apache.directory.shared.ldap.schema.MatchingRuleUse[] |
parseMatchingRuleUses(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
Parses a set of matchingRuleUseDescriptions held within an attribute into schema entities. |
org.apache.directory.shared.ldap.schema.NameForm[] |
parseNameForms(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
Parses a set of nameFormDescriptions held within an attribute into schema entities. |
org.apache.directory.shared.ldap.schema.parsers.NormalizerDescription[] |
parseNormalizers(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
|
org.apache.directory.shared.ldap.schema.ObjectClass[] |
parseObjectClasses(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
Parses a set of objectClassDescriptions held within an attribute into schema entities. |
org.apache.directory.shared.ldap.schema.parsers.SyntaxCheckerDescription[] |
parseSyntaxCheckers(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
Parse the SyntaxCheckers description |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DescriptionParsers(org.apache.directory.shared.ldap.schema.SchemaManager schemaManager)
globalRegistries
- the registries to use while creating new schema entitiesMethod Detail |
---|
public org.apache.directory.shared.ldap.schema.parsers.SyntaxCheckerDescription[] parseSyntaxCheckers(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws org.apache.directory.shared.ldap.exception.LdapInvalidAttributeValueException
attr
- The attribute containing the SC description
org.apache.directory.shared.ldap.exception.LdapInvalidAttributeValueException
- If something went wrongpublic org.apache.directory.shared.ldap.schema.parsers.NormalizerDescription[] parseNormalizers(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws org.apache.directory.shared.ldap.exception.LdapInvalidAttributeValueException
org.apache.directory.shared.ldap.exception.LdapInvalidAttributeValueException
public org.apache.directory.shared.ldap.schema.parsers.LdapComparatorDescription[] parseComparators(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws org.apache.directory.shared.ldap.exception.LdapInvalidAttributeValueException
org.apache.directory.shared.ldap.exception.LdapInvalidAttributeValueException
public org.apache.directory.shared.ldap.schema.AttributeType[] parseAttributeTypes(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws org.apache.directory.shared.ldap.exception.LdapException
attr
- the attribute containing attributeTypeDescriptions
org.apache.directory.shared.ldap.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.shared.ldap.schema.ObjectClass[] parseObjectClasses(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws org.apache.directory.shared.ldap.exception.LdapException
attr
- the attribute containing objectClassDescriptions
org.apache.directory.shared.ldap.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.shared.ldap.schema.MatchingRuleUse[] parseMatchingRuleUses(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws org.apache.directory.shared.ldap.exception.LdapException
attr
- the attribute containing matchingRuleUseDescriptions
org.apache.directory.shared.ldap.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.shared.ldap.schema.LdapSyntax[] parseLdapSyntaxes(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws org.apache.directory.shared.ldap.exception.LdapException
attr
- the attribute containing ldapSyntaxes
org.apache.directory.shared.ldap.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.shared.ldap.schema.MatchingRule[] parseMatchingRules(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws org.apache.directory.shared.ldap.exception.LdapException
attr
- the attribute containing matchingRuleDescriptions
org.apache.directory.shared.ldap.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.shared.ldap.schema.DITStructureRule[] parseDitStructureRules(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws org.apache.directory.shared.ldap.exception.LdapException
attr
- the attribute containing dITStructureRuleDescriptions
org.apache.directory.shared.ldap.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.shared.ldap.schema.DITContentRule[] parseDitContentRules(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws org.apache.directory.shared.ldap.exception.LdapException
attr
- the attribute containing dITContentRuleDescriptions
org.apache.directory.shared.ldap.exception.LdapException
- if there are problems parsing the descriptionspublic org.apache.directory.shared.ldap.schema.NameForm[] parseNameForms(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws org.apache.directory.shared.ldap.exception.LdapException
attr
- the attribute containing nameFormDescriptions
org.apache.directory.shared.ldap.exception.LdapException
- if there are problems parsing the descriptions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |