Method | Description | |
---|---|---|
LdapSchema ( |
Constructs an LdapSchema object from attributes of an LdapEntry. The object is empty if the entry parameter contains no schema attributes. The recognized schema attributes are the following:
|
|
getAttributeSchema ( System name ) : |
Returns a particular attribute definition, or null if not found.
|
|
getDITContentRuleSchema ( System name ) : |
Returns a particular DIT content rule definition, or null if not found.
|
|
getDITStructureRuleSchema ( System name ) : |
Returns a particular DIT structure rule definition, or null if not found.
|
|
getDITStructureRuleSchema ( int ID ) : |
Returns a particular DIT structure rule definition, or null if not found.
|
|
getMatchingRuleSchema ( System name ) : |
Returns a particular matching rule definition, or null if not found.
|
|
getMatchingRuleUseSchema ( System name ) : |
Returns a particular matching rule use definition, or null if not found.
|
|
getNameFormSchema ( System name ) : |
Returns a particular name form definition, or null if not found.
|
|
getObjectClassSchema ( System name ) : |
Returns a particular object class definition, or null if not found.
|
|
getSyntaxSchema ( System oid ) : |
Returns a particular syntax definition, or null if not found.
|
Method | Description | |
---|---|---|
InitBlock ( ) : void | ||
addElement ( int schemaType, |
Adds the schema definition to the idList and nameList HashMaps. This method is used by the methods fetchSchema and add. Note that the nameTable has all keys cast to Upper-case. This is so we can have a case-insensitive HashMap. The getXXX (String key) methods will also cast to uppercase.
|
|
getSchemaElement ( int schemaType, System key ) : |
This function abstracts retrieving LdapSchemaElements from the local copy of schema in this LdapSchema class. This is used by
|
|
getType ( |
This helper function returns a number that represents the type of schema definition the element represents. The top of this file enumerates these types.
|
public LdapSchema ( |
||
ent | An LdapEntry containing schema information. /// | |
return | System |
public getAttributeSchema ( System name ) : |
||
name | System | Name or OID of the attribute for which a definition is /// to be returned. /// /// |
return |
public getDITContentRuleSchema ( System name ) : |
||
name | System | The name of the DIT content rule use for which a /// definition is to be returned. /// /// |
return |
public getDITStructureRuleSchema ( System name ) : |
||
name | System | The name of the DIT structure rule use for which a /// definition is to be returned. /// /// |
return |
public getDITStructureRuleSchema ( int ID ) : |
||
ID | int | The ID of the DIT structure rule use for which a /// definition is to be returned. /// /// |
return |
public getMatchingRuleSchema ( System name ) : |
||
name | System | The name of the matching rule for which a definition /// is to be returned. /// /// |
return |
public getMatchingRuleUseSchema ( System name ) : |
||
name | System | The name of the matching rule use for which a definition /// is to be returned. /// /// |
return |
public getNameFormSchema ( System name ) : |
||
name | System | The name of the name form for which a definition /// is to be returned. /// /// |
return |
public getObjectClassSchema ( System name ) : |
||
name | System | The name or OID of the object class for which a /// definition is to be returned. /// /// |
return |
public getSyntaxSchema ( System oid ) : |
||
oid | System | The oid of the syntax for which a definition /// is to be returned. /// /// |
return |