public final class CaseIgnoreListFacade extends ValueListFacade
valueList| Constructor and Description |
|---|
CaseIgnoreListFacade(ValueList comp)
Facade constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addString(java.lang.String str)
Adds a string to the ValueList.
|
static ValueList |
createValueList(java.lang.String[] strings)
Creates a CI_LIST ValueList.
|
static ValueList |
createValueList(java.lang.String[] strings,
Syntax syn)
Creates a CI_LIST ValueList.
|
java.lang.String |
getString(int index)
Returns a single string from the ValueList.
|
java.lang.String[] |
getStrings()
Returns the strings from the ValueList.
|
void |
removeString(int index)
Removes a string from the ValueList.
|
void |
replaceString(java.lang.String newStr,
int index)
Replaces a string in the ValueList.
|
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueListpublic CaseIgnoreListFacade(ValueList comp) throws IncompatibleComponentException
comp - The ValueList that represents the CI_LIST data.IncompatibleComponentException - Thrown if the 'valueList' syntax is
not "Case Ignore List".public static ValueList createValueList(java.lang.String[] strings, Syntax syn)
strings - Refer to NDS Schema Specification.syn - The syntax for this value, either NDSSyntax.SYN_CI_LIST
or LDAPSyntax.SYN_CI_LIST.public static ValueList createValueList(java.lang.String[] strings)
strings - Refer to NDS Schema Specification.public java.lang.String[] getStrings()
public java.lang.String getString(int index)
throws java.lang.ArrayIndexOutOfBoundsException
index - The index for the string contained in the list.java.lang.ArrayIndexOutOfBoundsException - index is not in the value list.public void addString(java.lang.String str)
str - The string to add.public void removeString(int index)
throws java.lang.ArrayIndexOutOfBoundsException
index - The index of the string to remove.java.lang.ArrayIndexOutOfBoundsException - index is not in the value list.public void replaceString(java.lang.String newStr,
int index)
throws java.lang.ArrayIndexOutOfBoundsException
newStr - The new string.index - The index of the string to replace.java.lang.ArrayIndexOutOfBoundsException - index is not in the value list.
API Documentation Copyright © 1998-2004 Novell, Inc. All rights reserved.
NDS is a registered trademark of Novell, Inc. in the United States and other countries.
Generated ${TODAY} ${TSTAMP}.