|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.novell.admin.ns.ValueListFacade
com.novell.admin.ns.nds.OctetListFacade
Facade for the NDS Octet list syntax.
| Field Summary |
| Fields inherited from class com.novell.admin.ns.ValueListFacade |
valueList |
| Constructor Summary | |
OctetListFacade(ValueList comp)
Constructs an OctetListFacade object. |
|
| Method Summary | |
void |
addOctet(byte[] octet)
Adds an octet to the list. |
static ValueList |
createValueList(byte[][] octets)
Creates an NDS octet list ValueList. |
static ValueList |
createValueList(byte[][] octets,
Syntax syn)
Creates an octet list ValueList. |
byte[] |
getOctet(int index)
Retrieves an octet in the list. |
byte[][] |
getOctets()
Retrieves the octet list. |
void |
removeOctet(int index)
Removes an octet from the list. |
void |
replaceOctet(byte[] octet,
int index)
Replace an octet in the list. |
void |
setOctet(byte[] newOctet,
int index)
Sets an octet in the list. |
| Methods inherited from class com.novell.admin.ns.ValueListFacade |
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueList |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public OctetListFacade(ValueList comp)
throws IncompatibleComponentException
comp - The ValueList that represents the Octet list data.
IncompatibleComponentException - Not used.| Method Detail |
public void addOctet(byte[] octet)
octet - The octet to add.public static ValueList createValueList(byte[][] octets)
octets - Refer to NDS Schema Reference.
public static ValueList createValueList(byte[][] octets,
Syntax syn)
octets - Refer to NDS Schema Reference.syn - The syntax to use, either NDSSyntax.SYN_OCTET_LIST or LDAPSyntax.SYN_OCTET_LIST.
public byte[] getOctet(int index)
throws java.lang.ArrayIndexOutOfBoundsException
index - The index of the octet to retrieve.
java.lang.ArrayIndexOutOfBoundsException - index in not in range of list.public byte[][] getOctets()
public void removeOctet(int index)
throws java.lang.ArrayIndexOutOfBoundsException
index - The index of the octet to remove.
java.lang.ArrayIndexOutOfBoundsException - index in not in range of list.
public void replaceOctet(byte[] octet,
int index)
throws java.lang.ArrayIndexOutOfBoundsException
octet - The new octet.index - The index of the octet to be replaced.
java.lang.ArrayIndexOutOfBoundsException - index in not in range of list.
public void setOctet(byte[] newOctet,
int index)
throws java.lang.ArrayIndexOutOfBoundsException
newOctet - The octet to set.index - The index of the octet to set.
java.lang.ArrayIndexOutOfBoundsException - index in not in range of list.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||