public class AttributesFactory extends Object
Constructor and Description |
---|
AttributesFactory() |
Modifier and Type | Method and Description |
---|---|
Entry |
convert(AttributeType attributeType,
Schema schema,
SchemaManager schemaManager)
objectclass ( 1.3.6.1.4.1.18060.0.4.0.3.3
NAME 'metaAttributeType'
DESC 'meta definition of the AttributeType object'
SUP metaTop
STRUCTURAL
MUST ( m-name $ m-syntax )
MAY ( m-supAttributeType $ m-obsolete $ m-equality $ m-ordering $
m-substr $ m-singleValue $ m-collective $ m-noUserModification $
m-usage $ m-extensionAttributeType )
)
|
Entry |
convert(DitContentRule dITContentRule,
Schema schema,
SchemaManager schemaManager) |
Entry |
convert(DitStructureRule ditStructureRule,
Schema schema,
SchemaManager schemaManager) |
Entry |
convert(LdapSyntax syntax,
Schema schema,
SchemaManager schemaManager) |
Entry |
convert(MatchingRule matchingRule,
Schema schema,
SchemaManager schemaManager) |
Entry |
convert(MatchingRuleUse matchingRuleUse,
Schema schema,
SchemaManager schemaManager) |
Entry |
convert(NameForm nameForm,
Schema schema,
SchemaManager schemaManager) |
Entry |
convert(ObjectClass objectClass,
Schema schema,
SchemaManager schemaManager)
Creates the attributes of an entry representing an objectClass.
|
Entry |
convert(Schema schema,
SchemaManager schemaManager)
Convert a Schema to Entry
|
Entry |
convert(String oid,
LdapComparator<? super Object> comparator,
Schema schema,
SchemaManager schemaManager) |
Entry |
convert(String oid,
Normalizer normalizer,
Schema schema,
SchemaManager schemaManager) |
Entry |
convert(SyntaxChecker syntaxChecker,
Schema schema,
SchemaManager schemaManager) |
Entry |
getAttributes(SchemaObject obj,
Schema schema,
SchemaManager schemaManager) |
public AttributesFactory()
public Entry getAttributes(SchemaObject obj, Schema schema, SchemaManager schemaManager) throws LdapException
LdapException
public Entry convert(Schema schema, SchemaManager schemaManager) throws LdapException
schema
- The Schema to convertschemaManager
- The SchemaManagerLdapException
- If the conversion failedpublic Entry convert(SyntaxChecker syntaxChecker, Schema schema, SchemaManager schemaManager)
public Entry convert(LdapSyntax syntax, Schema schema, SchemaManager schemaManager) throws LdapException
LdapException
public Entry convert(String oid, Normalizer normalizer, Schema schema, SchemaManager schemaManager)
public Entry convert(String oid, LdapComparator<? super Object> comparator, Schema schema, SchemaManager schemaManager)
public Entry convert(MatchingRule matchingRule, Schema schema, SchemaManager schemaManager) throws LdapException
matchingRule
- LdapException
public Entry convert(MatchingRuleUse matchingRuleUse, Schema schema, SchemaManager schemaManager)
public Entry convert(DitStructureRule ditStructureRule, Schema schema, SchemaManager schemaManager)
public Entry convert(DitContentRule dITContentRule, Schema schema, SchemaManager schemaManager)
public Entry convert(NameForm nameForm, Schema schema, SchemaManager schemaManager)
public Entry convert(AttributeType attributeType, Schema schema, SchemaManager schemaManager) throws LdapException
objectclass ( 1.3.6.1.4.1.18060.0.4.0.3.3 NAME 'metaAttributeType' DESC 'meta definition of the AttributeType object' SUP metaTop STRUCTURAL MUST ( m-name $ m-syntax ) MAY ( m-supAttributeType $ m-obsolete $ m-equality $ m-ordering $ m-substr $ m-singleValue $ m-collective $ m-noUserModification $ m-usage $ m-extensionAttributeType ) )
attributeType
- LdapException
public Entry convert(ObjectClass objectClass, Schema schema, SchemaManager schemaManager) throws LdapException
objectclass ( 1.3.6.1.4.1.18060.0.4.0.3.2 NAME 'metaObjectClass' DESC 'meta definition of the objectclass object' SUP metaTop STRUCTURAL MUST m-oid MAY ( m-name $ m-obsolete $ m-supObjectClass $ m-typeObjectClass $ m-must $ m-may $ m-extensionObjectClass ) )
objectClass
- the objectClass to produce a meta schema entry forLdapException
- if there are any problemsCopyright © 2003–2014 The Apache Software Foundation. All rights reserved.