|
||||||||||
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(Registries globalRegistries,
SchemaPartitionDao dao)
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.syntax.ComparatorDescription[] |
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.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.syntax.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.syntax.SyntaxCheckerDescription[] |
parseSyntaxCheckers(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
|
org.apache.directory.shared.ldap.schema.Syntax[] |
parseSyntaxes(org.apache.directory.shared.ldap.entry.EntryAttribute attr)
Parses a set of ldapSyntaxDescriptions held within an attribute into schema entities. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DescriptionParsers(Registries globalRegistries, SchemaPartitionDao dao)
globalRegistries
- the registries to use while creating new schema entitiesMethod Detail |
---|
public org.apache.directory.shared.ldap.schema.syntax.SyntaxCheckerDescription[] parseSyntaxCheckers(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws javax.naming.NamingException
javax.naming.NamingException
public org.apache.directory.shared.ldap.schema.syntax.NormalizerDescription[] parseNormalizers(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws javax.naming.NamingException
javax.naming.NamingException
public org.apache.directory.shared.ldap.schema.syntax.ComparatorDescription[] parseComparators(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws javax.naming.NamingException
javax.naming.NamingException
public org.apache.directory.shared.ldap.schema.AttributeType[] parseAttributeTypes(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws java.lang.Exception
attr
- the attribute containing attributeTypeDescriptions
javax.naming.NamingException
- if there are problems parsing the descriptions
java.lang.Exception
public org.apache.directory.shared.ldap.schema.ObjectClass[] parseObjectClasses(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws java.lang.Exception
attr
- the attribute containing objectClassDescriptions
javax.naming.NamingException
- if there are problems parsing the descriptions
java.lang.Exception
public org.apache.directory.shared.ldap.schema.MatchingRuleUse[] parseMatchingRuleUses(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws javax.naming.NamingException
attr
- the attribute containing matchingRuleUseDescriptions
javax.naming.NamingException
- if there are problems parsing the descriptionspublic org.apache.directory.shared.ldap.schema.Syntax[] parseSyntaxes(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws java.lang.Exception
attr
- the attribute containing ldapSyntaxDescriptions
javax.naming.NamingException
- if there are problems parsing the descriptions
java.lang.Exception
public org.apache.directory.shared.ldap.schema.MatchingRule[] parseMatchingRules(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws java.lang.Exception
attr
- the attribute containing matchingRuleDescriptions
javax.naming.NamingException
- if there are problems parsing the descriptions
java.lang.Exception
public org.apache.directory.shared.ldap.schema.DITStructureRule[] parseDitStructureRules(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws javax.naming.NamingException
attr
- the attribute containing dITStructureRuleDescriptions
javax.naming.NamingException
- if there are problems parsing the descriptionspublic org.apache.directory.shared.ldap.schema.DITContentRule[] parseDitContentRules(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws javax.naming.NamingException
attr
- the attribute containing dITContentRuleDescriptions
javax.naming.NamingException
- if there are problems parsing the descriptionspublic org.apache.directory.shared.ldap.schema.NameForm[] parseNameForms(org.apache.directory.shared.ldap.entry.EntryAttribute attr) throws javax.naming.NamingException
attr
- the attribute containing nameFormDescriptions
javax.naming.NamingException
- if there are problems parsing the descriptions
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |