public class DomainTransferQueryCommand extends DomainTransferCommand
DomainTransferResponse
,
Serialized FormModifier and Type | Field and Description |
---|---|
protected java.util.logging.Logger |
userLogger |
protected XMLWriter |
xmlWriter |
objElement
cmdElement, command, extension
Constructor and Description |
---|
DomainTransferQueryCommand(java.lang.String name)
Create a domain transfer command for the identified domain, specifying
the 'query' transfer operation.
|
DomainTransferQueryCommand(java.lang.String name,
java.lang.String pw)
Create a domain transfer command for the identified domain, specifying
the designated password and the 'query' transfer operation.
|
DomainTransferQueryCommand(java.lang.String name,
java.lang.String roid,
java.lang.String pw)
Create a domain transfer command for the identified domain, specifying
the designated password and the 'query' 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 DomainTransferQueryCommand(java.lang.String name)
name
- The name of the domain to query the transfer state of.public DomainTransferQueryCommand(java.lang.String name, java.lang.String pw)
name
- The name of the domain to query the transfer state of.pw
- The identified domain's password.public DomainTransferQueryCommand(java.lang.String name, java.lang.String roid, java.lang.String pw)
name
- The name of the domain to query the transfer state of.roid
- The repository object identifier of the contact for which
the password is specified. The identified contact must be a contact
associated with the domain object being transferred.pw
- The password of the contact identified by the supplied ROID.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