Class EPPLaunchPolicyZoneContainer
java.lang.Object
com.verisign.epp.codec.launchpolicy.v01.EPPLaunchPolicyZoneContainer
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
- Direct Known Subclasses:
EPPLaunchPolicyCreate,EPPLaunchPolicyInfData,EPPLaunchPolicyUpdate
Abstract base class for the command and response extensions that contains a
zone.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPLaunchPolicyZoneContainer.Constructor forEPPLaunchPolicyZoneContainerthat takes the contained zone. -
Method Summary
Modifier and TypeMethodDescriptionclone()clone anEPPCodecComponent.voidDecode a DOM element tree to initialize the instance attributes.Encode instance into a DOM element tree.booleanCompare an instance ofEPPLaunchPolicyZoneContainerwith this instance.protected abstract StringAbstract method that the sub-class must define to return the local name for the root element.protected abstract org.slf4j.LoggerGets theLoggerto use for logging.Returns the XML namespace associated with theEPPCodecComponent.getZone()Gets the contained zone of the extension.voidsetZone(EPPLaunchPolicyZone aZone) Sets the contained zone of the extension.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Constructor Details
-
EPPLaunchPolicyZoneContainer
public EPPLaunchPolicyZoneContainer()Default constructor forEPPLaunchPolicyZoneContainer. -
EPPLaunchPolicyZoneContainer
Constructor forEPPLaunchPolicyZoneContainerthat takes the contained zone.- Parameters:
aZone- The zone to contain
-
-
Method Details
-
getLocalName
Abstract method that the sub-class must define to return the local name for the root element.- Returns:
- Local name of the root element of the extension.
-
getLogger
protected abstract org.slf4j.Logger getLogger()Gets theLoggerto use for logging.- Returns:
Loggerinstance determined by the derived class.
-
getZone
Gets the contained zone of the extension.- Returns:
- Instance of contained
EPPLaunchPolicyZone
-
setZone
Sets the contained zone of the extension.- Parameters:
aZone- Instance ofEPPLaunchPolicyZone
-
encode
Encode instance into a DOM element tree. A DOM Document is passed as an argument and functions as a factory for DOM objects. The root element associated with the instance is created and each instance attribute is appended as a child node.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document, which acts is an Element factory- Returns:
- Element Root element associated with the object
- Throws:
EPPEncodeException- Error encodingEPPLaunchPolicyZoneContainer
-
decode
Decode a DOM element tree to initialize the instance attributes. TheaElementargument represents the root DOM element and is used to traverse the DOM nodes for instance attribute values.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement-Elementto decode- Throws:
EPPDecodeException- Error decodingElement
-
clone
clone anEPPCodecComponent.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of concrete
EPPLaunchPolicyZoneContainer - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
equals
Compare an instance ofEPPLaunchPolicyZoneContainerwith this instance. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-