|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.reseller.EPPResellerPostalDefinition
public class EPPResellerPostalDefinition
Represents a reseller postal address definition. The child elements
associated with an EPPResellerPostalDefinition
include:
EPPResellerPostalDefinition.Type
enumeration. Use
getType()
and setType(Type)
to get and set the attribute.getName()
and
setName(String)
to get and set the attribute.getAddress()
and setAddress(EPPResellerAddress)
to get
and set the attribute.
Nested Class Summary | |
---|---|
static class |
EPPResellerPostalDefinition.Type
Localized type with one of the following values: LOC - Localized form of data that MAY be represented in
unrestricted UTF-8. |
Field Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for EPPResellerDisclose . |
static java.lang.String |
ELM_NAME
XML root tag for EPPResellerPostalDefinition . |
Constructor Summary | |
---|---|
EPPResellerPostalDefinition()
EPPResellerPostalDefinition default constructor. |
|
EPPResellerPostalDefinition(EPPResellerPostalDefinition.Type aType)
EPPResellerPostalDefinition constructor that takes the
contact postal type as an argument. |
|
EPPResellerPostalDefinition(EPPResellerPostalDefinition.Type aType,
java.lang.String aName,
EPPResellerAddress aAddress)
EPPResellerPostalDefinition constructor that sets the
required attributes with the parameters. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPResellerPostalDefinition . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPResellerPostalDefinition 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 EPPResellerPostalDefinition instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPResellerPostalDefinition compare. |
EPPResellerAddress |
getAddress()
Gets the contact address |
java.lang.String |
getName()
Gets the contact name |
EPPResellerPostalDefinition.Type |
getType()
Gets the contact postal type. |
void |
setAddress(EPPResellerAddress aAddress)
Sets the contact address |
void |
setName(java.lang.String aName)
Sets the contact name. |
void |
setType(EPPResellerPostalDefinition.Type aType)
Sets the contact type. |
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
EPPResellerDisclose
.
public static final java.lang.String ELM_NAME
EPPResellerPostalDefinition
.
Constructor Detail |
---|
public EPPResellerPostalDefinition()
EPPResellerPostalDefinition
default constructor.
public EPPResellerPostalDefinition(EPPResellerPostalDefinition.Type aType)
EPPResellerPostalDefinition
constructor that takes the
contact postal type as an argument.
aType
- Postal typepublic EPPResellerPostalDefinition(EPPResellerPostalDefinition.Type aType, java.lang.String aName, EPPResellerAddress aAddress)
EPPResellerPostalDefinition
constructor that sets the
required attributes with the parameters.
aName
- contact nameaType
- Postal typeaAddress
- contact addressMethod Detail |
---|
public EPPResellerPostalDefinition.Type getType()
public void setType(EPPResellerPostalDefinition.Type aType)
aType
- Contact postal typepublic java.lang.String getName()
null
otherwise.public void setName(java.lang.String aName)
aName
- Contact Namepublic EPPResellerAddress getAddress()
null
otherwise.public void setAddress(EPPResellerAddress aAddress)
aAddress
- Contact addresspublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPResellerPostalDefinition
instance.
encode
in interface EPPCodecComponent
aDocument
- DOM Document that is being built. Used as an Element factory.
Element
EPPEncodeException
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPResellerPostalDefinition
attributes from the
aElement DOM Element tree.
decode
in interface EPPCodecComponent
aElement
- Root DOM Element to decode
EPPResellerPostalDefinition
from.
EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPResellerPostalDefinition
compare.
equals
in class java.lang.Object
aObject
- EPPResellerPostalDefinition
instance to compare
with
true
if the object is equal to aObject
;
false
otherwise.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPResellerPostalDefinition
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPResellerPostalDefinition
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |