|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.service.nds.NdsOctetList
Provides access to values of the OctetList attribute. It is used for attributes that are ordered sequences of octet strings.
A presented octet list matches a stored list if the presented list is a subset of the stored list. Octet strings are so designated because they are not interpreted by NDS. They are simply a series of bits with no Unicode implications. The Approximate Equals matching rule, as well as the Equallity matching rule, applies because when comparing two octet lists, only one octet string in the list needs to match.
Matching Rules: Equality and Approximate Equals
NdsSyntaxId
Constructor Summary | |
NdsOctetList(byte[][] value)
Constructs an NdsOctetList object based on the specified value variable. |
Method Summary | |
boolean |
approximate(java.lang.Object anObject)
Compares two Objects using the approximate matching rule. |
java.lang.Object |
clone()
Creates a new object of the same class as this object. |
int |
compareTo(java.lang.Object anObject)
Compares two objects for ordering, or compares two strings lexicographically. |
int |
count()
Returns the number of elements in this sequence. |
boolean |
equals(java.lang.Object anObject)
Compares two Objects for equality. |
int |
getNdsSyntaxId()
Returns the int that represents this NDS syntax ID. |
byte[][] |
getOctetList()
Returns the byte array of Octet List values stored in the NDS attribute. |
java.util.Enumeration |
getValues()
Returns an enumeration of this sequence's values. |
boolean |
supportsMatchingRules(int matchingRules)
Checks to see if this object supports the specified matching rules. |
java.lang.String |
toString()
Generates a string representation of the object. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public NdsOctetList(byte[][] value)
value
- The octet list to be stored as a two-dimensional
byte array.Method Detail |
public int compareTo(java.lang.Object anObject) throws java.lang.Exception
public boolean equals(java.lang.Object anObject)
The equals method implements the most discriminating possible equivalence relation on objects; that is, for any reference values X and Y, this method returns TRUE if and only if X and Y refer to the same object (X==Y has the value TRUE).
anObject
- The reference object with which to compare.public int count()
public java.util.Enumeration getValues()
public boolean approximate(java.lang.Object anObject)
When comparing two Octet lists, only one octet string of the list need match.
anObject
- The reference object with which to compare.public int getNdsSyntaxId()
public boolean supportsMatchingRules(int matchingRules)
matchingRules
- The set of matching rules to check.public java.lang.Object clone()
public java.lang.String toString()
public byte[][] getOctetList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |