public abstract class EPPLaunchPolicyZoneContainer extends java.lang.Object implements EPPCodecComponent
EPPLaunchPolicyZone
,
Serialized FormConstructor and Description |
---|
EPPLaunchPolicyZoneContainer()
Default constructor for
EPPLaunchPolicyZoneContainer . |
EPPLaunchPolicyZoneContainer(EPPLaunchPolicyZone aZone)
Constructor for
EPPLaunchPolicyZoneContainer that takes the
contained zone. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
clone an
EPPCodecComponent . |
void |
decode(org.w3c.dom.Element aElement)
Decode a DOM element tree to initialize the instance attributes.
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode instance into a DOM element tree.
|
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPLaunchPolicyZoneContainer with this
instance. |
protected abstract java.lang.String |
getLocalName()
Abstract method that the sub-class must define to return the local name
for the root element.
|
protected abstract org.apache.log4j.Logger |
getLogger()
Gets the
Logger to use for logging. |
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
EPPLaunchPolicyZone |
getZone()
Gets the contained zone of the extension.
|
void |
setZone(EPPLaunchPolicyZone aZone)
Sets the contained zone of the extension.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public EPPLaunchPolicyZoneContainer()
EPPLaunchPolicyZoneContainer
.public EPPLaunchPolicyZoneContainer(EPPLaunchPolicyZone aZone)
EPPLaunchPolicyZoneContainer
that takes the
contained zone.aZone
- The zone to containprotected abstract java.lang.String getLocalName()
protected abstract org.apache.log4j.Logger getLogger()
Logger
to use for logging.Logger
instance determined by the derived class.public EPPLaunchPolicyZone getZone()
EPPLaunchPolicyZone
public void setZone(EPPLaunchPolicyZone aZone)
aZone
- Instance of EPPLaunchPolicyZone
public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- DOM Document, which acts is an Element factoryEPPEncodeException
- Error encoding EPPLaunchPolicyZoneContainer
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
aElement
argument represents the root DOM element and is used to
traverse the DOM nodes for instance attribute values.decode
in interface EPPCodecComponent
aElement
- Element
to decodeEPPDecodeException
- Error decoding Element
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLaunchPolicyZoneContainer
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 boolean equals(java.lang.Object aObject)
EPPLaunchPolicyZoneContainer
with this
instance.equals
in class java.lang.Object
aObject
- Object to compare with.true
if equal; false
otherwise.public java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.