|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryContactAddress
public class EPPRegistryContactAddress
Represents the address information policy information. The
<registry:address> element contains the following child elements:
EPPRegistryPostal
,
EPPRegistryContactStreet
,
EPPRegistryContactCity
,
EPPRegistryContactStateProvince
,
EPPRegistryContactPostalCode
,
Serialized FormField Summary | |
---|---|
static java.lang.String |
ELM_COUNTRY_CODE
DOCUMENT ME! |
static java.lang.String |
ELM_NAME
XML Element Name of EPPRegistryContactAddress root element. |
Constructor Summary | |
---|---|
EPPRegistryContactAddress()
|
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPRegistryContactAddress . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPRegistryContactAddress attributes from the aElement
DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPRegistryContactAddress instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryContactAddress compare. |
EPPRegistryContactCity |
getCity()
Gets the contact city attributes. |
EPPRegistryContactPostalCode |
getPostalCode()
Gets the contact postal code attributes. |
EPPRegistryContactStateProvince |
getStateProvince()
Gets the contact state/province attributes. |
EPPRegistryContactStreet |
getStreet()
Gets the contact street attributes. |
void |
setCity(EPPRegistryContactCity city)
Sets the contact city attributes. |
void |
setPostalCode(EPPRegistryContactPostalCode postalCode)
Sets the contact postal code attributes. |
void |
setStateProvince(EPPRegistryContactStateProvince stateProvince)
Sets the contact state/province attributes. |
void |
setStreet(EPPRegistryContactStreet street)
Sets the contact street attributes. |
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_NAME
EPPRegistryContactAddress
root element.
public static final java.lang.String ELM_COUNTRY_CODE
Constructor Detail |
---|
public EPPRegistryContactAddress()
Method Detail |
---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryContactAddress
instance.
encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.
EPPRegistryContactAddress
instance.
EPPEncodeException
- - Unable to encode EPPRegistryContactAddress
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryContactAddress
attributes from the aElement
DOM Element tree.
decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode EPPRegistryContactAddress
from.
EPPDecodeException
- Unable to decode aElementpublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryContactAddress
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistryContactAddress
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic boolean equals(java.lang.Object aObject)
EPPRegistryContactAddress
compare.
equals
in class java.lang.Object
aObject
- EPPRegistryContactAddress
instance to compare
with
true
if this object is the same as the aObject argument;
false
otherwisepublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.
toString
in class java.lang.Object
String
if successful;
ERROR
otherwise.public EPPRegistryContactCity getCity()
EPPRegistryContactCity
that specifies the
minimum and maximum length of the <contact:city> element
defined in RFC 5733 using the <registry:minLength> and
<registry:maxLength> child elements, respectivelypublic void setCity(EPPRegistryContactCity city)
city
- instance of EPPRegistryContactCity
that specifies the
minimum and maximum length of the <contact:city> element
defined in RFC 5733 using the <registry:minLength> and
<registry:maxLength> child elements, respectivelypublic EPPRegistryContactStateProvince getStateProvince()
EPPRegistryContactStateProvince
that
specifies the minimum and maximum length of the
<contact:sp> element defined in RFC 5733 using the
<registry:minLength> and <registry:maxLength> child
elements, respectivelypublic void setStateProvince(EPPRegistryContactStateProvince stateProvince)
stateProvince
- instance of EPPRegistryContactStateProvince
that
specifies the minimum and maximum length of the
<contact:sp> element defined in RFC 5733 using the
<registry:minLength> and <registry:maxLength>
child elements, respectivelypublic EPPRegistryContactPostalCode getPostalCode()
EPPRegistryContactPostalCode
that specifies
the minimum and maximum length of the <contact:pc> element
defined in RFC 5733 using the <registry:minLength> and
<registry:maxLength> child elements, respectivelypublic void setPostalCode(EPPRegistryContactPostalCode postalCode)
postalCode
- instance of EPPRegistryContactPostalCode
that
specifies the minimum and maximum length of the
<contact:pc> element defined in RFC 5733 using the
<registry:minLength> and <registry:maxLength>
child elements, respectivelypublic EPPRegistryContactStreet getStreet()
EPPRegistryContactStreet
that specifies the
The minimum and maximum length and the minimum and maximum number
of the <contact:street> elements defined in RFC 5733public void setStreet(EPPRegistryContactStreet street)
street
- instance of EPPRegistryContactStreet
that specifies
the The minimum and maximum length and the minimum and maximum
number of the <contact:street> elements defined in RFC
5733
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |