public class ContactTransferApproveCommand extends ContactTransferCommand
ContactTransferResponse
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.util.logging.Logger |
userLogger |
protected XMLWriter |
xmlWriter |
objElement
cmdElement, command, extension
Constructor and Description |
---|
ContactTransferApproveCommand(java.lang.String id)
Create a contact transfer command for the identified contact, specifying
the 'approve' transfer operation.
|
ContactTransferApproveCommand(java.lang.String id,
java.lang.String pw)
Create a contact transfer command for the identified contact, specifying
the designated password and the 'approve' transfer operation.
|
Modifier and Type | Method and Description |
---|---|
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.
|
appendExtension, getCommandType, getExtensionElement, getXmlWriter, initCmdElement, toXMLImpl
protected final transient XMLWriter xmlWriter
protected final transient java.util.logging.Logger userLogger
public ContactTransferApproveCommand(java.lang.String id)
id
- The identifier of the contact to approve transfer of.public ContactTransferApproveCommand(java.lang.String id, java.lang.String pw)
id
- The identifier of the contact to approve transfer of.pw
- The identified contact's password.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