Class EPPRelatedDomainExtGroup
java.lang.Object
com.verisign.epp.codec.relateddomainext.EPPRelatedDomainExtGroup
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
EPPCodecComponent that encodes and decodes a <relDom:group> tag
Title: EPP 1.0 Related Domain - group tag
Description: The EPPRelatedDomainExtGroup object represents the collection of
domains that are available for registration in a family of related domains.
As such it is composed of EPPRelatedDomainExtFields,
EPPRelatedDomainExtAvailable and
EPPRelatedDomainExtRegistered objects.
As XML, it is represented by a <relDom:available> element containing a number
of <relDom:name> elements.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructorEPPRelatedDomainExtGroup(String aType, EPPRelatedDomainExtFields aFields) Constructor that takes the required attributes including thetypeand thefields.EPPRelatedDomainExtGroup(String aType, EPPRelatedDomainExtFields aFields, EPPRelatedDomainExtAvailable aAvailable, EPPRelatedDomainExtRegistered aRegistered) Constructor that takes all of the attributes as parameters. -
Method Summary
Modifier and TypeMethodDescriptionclone()A deep clone of the EPPRelatedDomainAvailablevoidPopulate the data of this instance with the data stored in the given Element of the DOM treeAppend all data from this group to the given DOM DocumentbooleanReturns the availableReturns the fieldsReturns the XML namespace associated with theEPPCodecComponent.Returns the registeredgetType()Returns the typevoidsetAvailable(EPPRelatedDomainExtAvailable aAvailable) Sets available value to aAvailablevoidsetFields(EPPRelatedDomainExtFields aFields) Sets fields value to aFieldsvoidsetRegistered(EPPRelatedDomainExtRegistered aRegistered) Sets registered value to aRegisteredvoidSets type value to aTypetoString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_NAME
Element tag name for the group- See Also:
-
TYPE_TLD
Relationship of domains is based on Top Level Domain (TLD) relationship.- See Also:
-
TYPE_VARIANT
Relationship of domains is based on variant relationship within a Top Level Domain (TLD).- See Also:
-
-
Constructor Details
-
EPPRelatedDomainExtGroup
public EPPRelatedDomainExtGroup()Default constructor
-
-
Method Details
-
clone
A deep clone of the EPPRelatedDomainAvailable- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of concrete
EPPCodecComponent - Throws:
CloneNotSupportedException- standard Object.clone exception- See Also:
-
decode
Populate the data of this instance with the data stored in the given Element of the DOM tree- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- The root element of the report fragment of XML- Throws:
EPPDecodeException- Thrown if any errors occur during decoding.
-
encode
Append all data from this group to the given DOM Document- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- The DOM Document to append data to- Returns:
- Encoded DOM
Element - Throws:
EPPEncodeException- Thrown when errors occur during the encode attempt or if the instance is invalid.
-
equals
-
getAvailable
Returns the available- Returns:
- the available
-
getFields
Returns the fields- Returns:
- the fields
-
getRegistered
Returns the registered- Returns:
- the registered
-
getType
Returns the type- Returns:
- the type
-
setType
Sets type value to aType- Parameters:
aType- the type to set
-
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.
-