|
||||||||||
| 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.PostalAddressFacade
Facade for NDS Postal Address syntax.
| Field Summary |
| Fields inherited from class com.novell.admin.ns.ValueListFacade |
valueList |
| Constructor Summary | |
PostalAddressFacade(ValueList comp)
Facade constructor |
|
| Method Summary | |
static ValueList |
createValueList(java.lang.String[] lines)
Creates an NDS Postal Address ValueList. |
static ValueList |
createValueList(java.lang.String[] lines,
Syntax syn)
Creates an NDS Postal Address ValueList. |
java.lang.String |
getLine(int index)
Retrieves a particular line of the postal address. |
java.lang.String[] |
getLines()
Retrieves the Postal Address. |
void |
replaceLine(java.lang.String newLine,
int index)
Replaces a particular line of the postal address. |
| 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 PostalAddressFacade(ValueList comp)
throws IncompatibleComponentException
comp - The ValueList that represents the postal address data.
IncompatibleComponentException - Not used.| Method Detail |
public static ValueList createValueList(java.lang.String[] lines)
lines - Refer to NDS Schema Reference.
public static ValueList createValueList(java.lang.String[] lines,
Syntax syn)
lines - Refer to NDS Schema Reference.syn - The syntax for this value, either NDSSyntax.SYN_PO_ADDRESS
or LDAPSyntax.SYN_POSTAL_ADDRESS.
public java.lang.String getLine(int index)
throws java.lang.ArrayIndexOutOfBoundsException
index - The index of the postal address line to retrieve.
java.lang.ArrayIndexOutOfBoundsException - index in not in range of list.public java.lang.String[] getLines()
public void replaceLine(java.lang.String newLine,
int index)
throws java.lang.ArrayIndexOutOfBoundsException
newLine - The new value.index - The index of the postal address line to replace.
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 | |||||||||