public final class AeDomainTransferRegistrantCommand extends ProtocolExtensionCommand
Modifier and Type | Field and Description |
---|---|
protected java.util.logging.Logger |
userLogger |
protected XMLWriter |
xmlWriter |
objElement
cmdElement, command, extension
Constructor and Description |
---|
AeDomainTransferRegistrantCommand(java.lang.String name,
java.util.GregorianCalendar curExpDate,
Period period,
java.lang.String eligibilityType,
int policyReason,
java.lang.String registrantName,
java.lang.String registrantID,
java.lang.String registrantIDType,
java.lang.String eligibilityName,
java.lang.String eligibilityID,
java.lang.String eligibilityIDType,
java.lang.String explanation)
Request that the named .ae domain name be transferred to the legal entity
specified by the given ae extension data.
|
AeDomainTransferRegistrantCommand(java.lang.String name,
java.util.GregorianCalendar curExpDate,
java.lang.String registrantName,
java.lang.String eligibilityType,
int policyReason,
java.lang.String explanation) |
Modifier and Type | Method and Description |
---|---|
protected Extension |
getExtension() |
java.lang.String |
toXML()
Serialize the EPP service element to XML.
|
java.lang.String |
toXML(XmlOutputConfig outputConfig)
Serialize the EPP service element to XML using the given output config.
|
initCmdElement
appendExtension, getCommandType, getExtensionElement, getXmlWriter, toXMLImpl
protected final transient XMLWriter xmlWriter
protected final transient java.util.logging.Logger userLogger
public AeDomainTransferRegistrantCommand(java.lang.String name, java.util.GregorianCalendar curExpDate, java.lang.String registrantName, java.lang.String eligibilityType, int policyReason, java.lang.String explanation)
public AeDomainTransferRegistrantCommand(java.lang.String name, java.util.GregorianCalendar curExpDate, Period period, java.lang.String eligibilityType, int policyReason, java.lang.String registrantName, java.lang.String registrantID, java.lang.String registrantIDType, java.lang.String eligibilityName, java.lang.String eligibilityID, java.lang.String eligibilityIDType, java.lang.String explanation)
name
- The domain name to transfer. Required.curExpDate
- The current expiry of the identified domain name. This is
required in order to prevent repeated transfer of the name due
to protocol transmission failures. Required.period
- The desired new validity period, starting from the time the
transfer completes successfully. Optional.eligibilityType
- Required.policyReason
- registrantName
- Required.registrantID
- registrantIDType
- eligibilityName
- eligibilityID
- eligibilityIDType
- explanation
- An explanation of how the transfer was effected.java.lang.IllegalArgumentException
- if curExpDate
, eligibilityType
or registrantIDType
is null
.protected Extension getExtension()
getExtension
in class ProtocolExtensionCommand
public final java.lang.String toXML() throws org.xml.sax.SAXException
org.xml.sax.SAXException
- The XML representation of the command
failed schema validation. Further attempts to serialize this command
will also fail.toXML
public final java.lang.String toXML(XmlOutputConfig outputConfig) throws org.xml.sax.SAXException
outputConfig
- a configuration that indicates how to output the XMLorg.xml.sax.SAXException
XmlOutputConfig