|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.novell.ldap.LDAPAttribute com.novell.ldap.LDAPSchemaElement com.novell.ldap.LDAPMatchingRuleUseSchema
Represents the definition of a specific matching rule use in the directory schema.
The LDAPMatchingRuleUseSchema class represents the definition of a matching rule use. It is used to discover or modify which attributes are suitable for use with an extensible matching rule. It contains the name and identifier of a matching rule, and a list of attributes which it applies to.
LDAPAttributeSchema
,
LDAPSchemaElement
,
LDAPSchema
,
Serialized FormField Summary |
Fields inherited from class com.novell.ldap.LDAPSchemaElement |
description, hashQualifier, names, obsolete, oid, qualifier |
Constructor Summary | |
LDAPMatchingRuleUseSchema()
This constructor was added to support default Serialization |
|
LDAPMatchingRuleUseSchema(java.lang.String raw)
Constructs a matching rule use definition from the raw string value returned on a schema query for matchingRuleUse. |
|
LDAPMatchingRuleUseSchema(java.lang.String[] names,
java.lang.String oid,
java.lang.String description,
boolean obsolete,
java.lang.String[] attributes)
Constructs a matching rule use definition for adding to or deleting from the schema. |
Method Summary | |
protected java.lang.String |
formatString()
Returns a string in a format suitable for directly adding to a directory, as a value of the particular schema element attribute. |
java.lang.String[] |
getAttributes()
Returns an array of all the attributes which this matching rule applies to. |
static java.lang.Object |
readDSML(java.io.InputStream input)
This method is used to deserialize the DSML encoded representation of this class. |
protected void |
setDeserializedValues(java.io.BufferedInputStream istream)
|
protected void |
writeValue(java.lang.StringBuffer buff)
|
protected void |
writeValue(java.io.Writer out)
|
Methods inherited from class com.novell.ldap.LDAPSchemaElement |
addValue, addValue, getDescription, getID, getNames, getQualifier, getQualifierNames, isObsolete, removeValue, removeValue, setQualifier, toString |
Methods inherited from class com.novell.ldap.LDAPAttribute |
addBase64Value, addBase64Value, addBase64Value, addURLValue, addURLValue, addValue, clone, compareTo, getBaseName, getBaseName, getByteValue, getByteValueArray, getByteValues, getLangSubtype, getName, getStringValue, getStringValueArray, getStringValues, getSubtypes, getSubtypes, hasSubtype, hasSubtypes, readExternal, removeValue, setValue, size, writeDSML, writeExternal |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public LDAPMatchingRuleUseSchema()
public LDAPMatchingRuleUseSchema(java.lang.String[] names, java.lang.String oid, java.lang.String description, boolean obsolete, java.lang.String[] attributes)
names
- Name(s) of the matching rule.
oid
- Object Identifier of the the matching rule
in dotted-decimal format.
description
- Optional description of the matching rule use.
obsolete
- True if the matching rule use is obsolete.
attributes
- List of attributes that this matching rule
applies to. These values may be either the
names or numeric oids of the attributes.public LDAPMatchingRuleUseSchema(java.lang.String raw)
raw
- The raw string value returned on a schema
query for matchingRuleUse.Method Detail |
public java.lang.String[] getAttributes()
protected java.lang.String formatString()
formatString
in class LDAPSchemaElement
protected void setDeserializedValues(java.io.BufferedInputStream istream) throws java.io.IOException
setDeserializedValues
in class LDAPAttribute
java.io.IOException
protected void writeValue(java.io.Writer out) throws java.io.IOException
writeValue
in class LDAPAttribute
java.io.IOException
protected void writeValue(java.lang.StringBuffer buff)
writeValue
in class LDAPAttribute
public static java.lang.Object readDSML(java.io.InputStream input) throws java.io.IOException
input
- InputStream for the DSML formatted data.
java.io.IOException
- when serialization fails.
|
LDAP Classes Implements Java LDAP |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |