Class EPPRegistryZoneData
java.lang.Object
com.verisign.epp.codec.registry.v02.EPPRegistryZoneData
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
EPPRegistryZoneData contains the EPPRegistryZone for use in
the EPPRegistryInfoResp to include the accessible boolean
attribute. The accessible boolean attribute is only applicable in the
info response.- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPRegistryZoneData.EPPRegistryZoneData(EPPRegistryZone aZone, boolean aAccessible) Default constructor forEPPRegistryZoneData. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPRegistryZoneData.voidDecode theEPPRegistryZoneDataattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPRegistryZoneDatainstance.booleanimplements a deepEPPRegistryZoneDatacompare.Returns the XML namespace associated with theEPPCodecComponent.getZone()Gets the contained zone informationbooleanIs the zone accessible to the client?voidsetAccessible(boolean aAccessible) Sets if the zone is access to the client.voidsetZone(EPPRegistryZone aZone) Sets the contained zone information.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_NAME
XML root tag forEPPRegistryZoneData.- See Also:
-
ATTR_ACCESSIBLE
XML attribute name for theaccessibleattribute.- See Also:
-
-
Constructor Details
-
EPPRegistryZoneData
public EPPRegistryZoneData()Default constructor forEPPRegistryZoneData. Thezonemust be set prior to calling {encode(Document). -
EPPRegistryZoneData
Default constructor forEPPRegistryZoneData. Thezonemust be set prior to calling {encode(Document).- Parameters:
aZone- Contained zone informationaAccessible- Indicates whether the zone is accessible withtrueor available withfalse.
-
-
Method Details
-
getZone
Gets the contained zone information- Returns:
- The zone information if defined;
nullotherwise.
-
setZone
Sets the contained zone information.- Parameters:
aZone- Zone information
-
isAccessible
public boolean isAccessible()Is the zone accessible to the client?- Returns:
trueif the zone is accessible;falseotherwise.
-
setAccessible
public void setAccessible(boolean aAccessible) Sets if the zone is access to the client.- Parameters:
aAccessible-trueif the zone is accessible;falseotherwise.
-
encode
Encode a DOM Element tree from the attributes of theEPPRegistryZoneDatainstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPRegistryZoneDatainstance. - Throws:
EPPEncodeException- - Unable to encodeEPPRegistryZoneDatainstance.
-
decode
Decode theEPPRegistryZoneDataattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPRegistryZoneDatafrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
equals
implements a deepEPPRegistryZoneDatacompare. -
clone
CloneEPPRegistryZoneData.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPRegistryZoneData - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-