|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.registry.EPPRegistryZoneMember
public class EPPRegistryZoneMember
Class that represents a related zone member that includes a type and zone name attribute.
Field Summary | |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the phase local name |
static java.lang.String |
ELM_NAME
Constant for the qualified name (prefix and local name) |
static java.lang.String |
TYPE_ALTERNATE
Constant where domain names of the zone can only be created when the primary domain name exists. |
static java.lang.String |
TYPE_EQUAL
Constant where there is no concept of primary and alternate domain names, so the related zones are treated as equal. |
static java.lang.String |
TYPE_PRIMARY
Constant where all domain names in the zone MUST be a primary domain name. |
static java.lang.String |
TYPE_PRIMARY_BASED_ON_CR_DATE
Constant where a domain name in the zone can be either a primary or alternate domain name based on the earliest created date. |
Constructor Summary | |
---|---|
EPPRegistryZoneMember()
Default constructor. |
|
EPPRegistryZoneMember(java.lang.String aZoneName,
java.lang.String aType)
Constructor that takes the required attributes including the zone name and the type of the zone member. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPRegistryZoneMember . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPRegistryZoneMember element aElement DOM Element
tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPRegistryZoneMember instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPRegistryZoneMember compare. |
java.lang.String |
getType()
Gets the type of the related zone. |
java.lang.String |
getZoneName()
Gets the zone name of the related zone. |
void |
setType(java.lang.String aType)
Sets the type of the related zone. |
void |
setZoneName(java.lang.String aZoneName)
Sets the zone name of the related zone. |
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
public static final java.lang.String TYPE_PRIMARY
public static final java.lang.String TYPE_ALTERNATE
public static final java.lang.String TYPE_PRIMARY_BASED_ON_CR_DATE
public static final java.lang.String TYPE_EQUAL
Constructor Detail |
---|
public EPPRegistryZoneMember()
type
and the
zoneName
MUST be set.
public EPPRegistryZoneMember(java.lang.String aZoneName, java.lang.String aType)
aZoneName
- Name of the zone.aType
- Type of the zone member using one of the TYPE
constants.Method Detail |
---|
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPRegistryZoneMember
instance.
encode
in interface EPPCodecComponent
aDocument
- - DOM Document that is being built. Used as an Element
factory.
EPPRegistryZoneMember
instance.
EPPEncodeException
- - Unable to encode EPPRegistryZoneMember
instance.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPRegistryZoneMember
element aElement DOM Element
tree.
decode
in interface EPPCodecComponent
aElement
- - Root DOM Element to decode EPPRegistryZoneMember
from.
EPPDecodeException
- Unable to decode aElementpublic boolean equals(java.lang.Object aObject)
EPPRegistryZoneMember
compare.
equals
in class java.lang.Object
aObject
- EPPRegistryZoneMember
instance to compare with
true
if equal; false
otherwisepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPRegistryZoneMember
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPRegistryZoneMember
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.public java.lang.String getZoneName()
null
otherwise.public void setZoneName(java.lang.String aZoneName)
aZoneName
- Zone namepublic java.lang.String getType()
TYPE
constant values if set; null
otherwise.public void setType(java.lang.String aType)
aType
- One of the TYPE
constant values.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |