public final class PostalAddressFacade extends ValueListFacade
valueList| Constructor and Description |
|---|
PostalAddressFacade(ValueList comp)
Facade constructor
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
getValueList, replaceBooleanValue, replaceHexValue, replaceLongValue, replaceStringValue, replaceValueListpublic PostalAddressFacade(ValueList comp) throws IncompatibleComponentException
comp - The ValueList that represents the postal address data.IncompatibleComponentException - Not used.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 static ValueList createValueList(java.lang.String[] lines)
lines - Refer to NDS Schema Reference.public java.lang.String[] getLines()
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 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.
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}.