|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.novell.service.nds.NdsCaseIgnoreList
Provides access to values of the Case Ignore List attribute. It is used for attributes whose values are ordered sequences of strings for which the case (upper or lower) is not significant when performing comparisons.
Two Case Ignore Lists match for equality if and only if the number of strings in each is the same, and all corresponding strings match. For two corresponding strings in the list to match they must be the same length and their corresponding characters must be identical. In matching attributes that conform to this syntax, NDS omits those spaces that are not significant (leading spaces, trailing spaces, and multiple consecutive internal spaces). The NDS stores insignificant spaces with the attribute value.
Matching Rules: Equality
NdsSyntaxId
Constructor Summary | |
NdsCaseIgnoreList(java.lang.String[] value)
Constructs an NdsCaseIgnoreList object from a String array of values. |
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. |
java.lang.String[] |
getCaseIgnoreList()
Returns the String array containing a list of strings stored in the NDS attribute. |
int |
getNdsSyntaxId()
Returns the int that represents the NDS syntax ID. |
java.util.Enumeration |
getValues()
Returns an enumeration of element values in this sequence. |
boolean |
supportsMatchingRules(int matchingRules)
Checks to see if this object supports the specified matching rules. |
java.lang.String |
toString()
Generates and returns a string representation of the object. |
Methods inherited from class java.lang.Object |
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public NdsCaseIgnoreList(java.lang.String[] value)
Two case ignore lists match for equality if and only if the number of strings in each is the same, and all corresponding strings match. For two corresponding strings in the list to match they must be the same length and their corresponding characters must be identical (according to the rules for case ignore strings).
value
- The String array of stored values.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) throws java.lang.Exception
public int getNdsSyntaxId()
public boolean supportsMatchingRules(int matchingRules)
The NdsCaseIgnoreList syntax supports only the equality matching rule.
matchingRules
- The set of matching rules to check.public java.lang.Object clone()
public java.lang.String toString()
public java.lang.String[] getCaseIgnoreList()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |