|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.verisign.epp.codec.mark.EPPMarkAddress
public class EPPMarkAddress
Class for an address within an EPPMarkContact.
| Field Summary | |
|---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the local name |
static java.lang.String |
ELM_NAME
Constant for the tag name |
| Constructor Summary | |
|---|---|
EPPMarkAddress()
Default constructor for EPPMarkAddress. |
|
EPPMarkAddress(java.util.List<java.lang.String> aStreets,
java.lang.String aCity,
java.lang.String aSp,
java.lang.String aPc,
java.lang.String aCc)
Constructor that takes all of the EPPMarkAddress
attributes. |
|
| Method Summary | |
|---|---|
void |
addStreet(java.lang.String aStreet)
Add a street line to the contact street address. |
java.lang.Object |
clone()
Clone EPPMarkAddress. |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPMark component |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Sets all this instance's data in the given XML document |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPMarkAddress compare. |
java.lang.String |
getCc()
Gets the country code of the contact. |
java.lang.String |
getCity()
Gets the city of the contact. |
java.lang.String |
getPc()
Gets the Postal Code of the contact. |
java.lang.String |
getSp()
Gets the City or Province of the contact. |
java.util.List<java.lang.String> |
getStreets()
Gets the contact's street address. |
void |
setCc(java.lang.String aCc)
Sets the country code of the contact. |
void |
setCity(java.lang.String aCity)
Sets the city of the contact. |
void |
setPc(java.lang.String aPc)
Sets the Postal Code of the contact. |
void |
setSp(java.lang.String aSp)
Sets the City or Province of the contact. |
void |
setStreets(java.util.List<java.lang.String> aStreets)
Sets the contact's street address. |
java.lang.String |
toString()
Implementation of Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent. |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
| Constructor Detail |
|---|
public EPPMarkAddress()
EPPMarkAddress.
public EPPMarkAddress(java.util.List<java.lang.String> aStreets,
java.lang.String aCity,
java.lang.String aSp,
java.lang.String aPc,
java.lang.String aCc)
EPPMarkAddress
attributes.
aStreets - Streets of the contact.aCity - City of the contactaSp - State or Province of the contactaPc - Postal Code of the contactaCc - Country code of the contact| Method Detail |
|---|
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
EPPMarkAddress.
clone in interface EPPCodecComponentclone in class java.lang.ObjectEPPMarkAddress
java.lang.CloneNotSupportedException - standard Object.clone exception
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument)
throws EPPEncodeException
encode in interface EPPCodecComponentaDocument - a DOM Document to attach data to.
EPPEncodeException - Thrown if any errors prevent encoding.
public void decode(org.w3c.dom.Element aElement)
throws EPPDecodeException
EPPMark component
decode in interface EPPCodecComponentaElement - Root element of the EPPMark
EPPDecodeException - Error decoding the EPPMarkpublic boolean equals(java.lang.Object aObject)
EPPMarkAddress compare.
equals in class java.lang.ObjectaObject - EPPMarkAddress instance to compare with
public java.util.List<java.lang.String> getStreets()
List of street lines if set; Empty list otherwise.public void setStreets(java.util.List<java.lang.String> aStreets)
aStreets - Zero to three street lines.public void addStreet(java.lang.String aStreet)
aStreet - A line of the contact street address.public java.lang.String getCity()
null otherwise.public void setCity(java.lang.String aCity)
aCity - City of the contact.public java.lang.String getSp()
null otherwise.public void setSp(java.lang.String aSp)
aSp - City or Province of the contact.public java.lang.String getPc()
null otherwise.public void setPc(java.lang.String aPc)
aPc - Postal Code of the contact.public java.lang.String getCc()
null otherwise.public void setCc(java.lang.String aCc)
aCc - Country code of the contact.public java.lang.String toString()
Object.toString, which will result in an
indented XML String representation of the concrete
EPPCodecComponent.
toString in class java.lang.ObjectString if successful;
ERROR otherwise.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||