EPP RTK
for Java v 0.4.1

com.tucows.oxrs.epp.rtk.xml
Class EPPDomainTransfer

java.lang.Object
  |
  +--org.omg.CORBA.portable.ObjectImpl
        |
        +--com.tucows.oxrs.epp.rtk.RTKBase
              |
              +--com.tucows.oxrs.epp.rtk.xml.EPPXMLBase
                    |
                    +--com.tucows.oxrs.epp.rtk.xml.EPPDomainBase
                          |
                          +--com.tucows.oxrs.epp.rtk.xml.EPPDomainTransfer
All Implemented Interfaces:
epp_Action, epp_ActionOperations, epp_DomainTransfer, epp_DomainTransferOperations, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.Object, java.io.Serializable

public class EPPDomainTransfer
extends EPPDomainBase
implements epp_DomainTransfer

Class for the EPP Domain Transfer command and response. Extends the epp_DomainTransfer interface from the EPP IDLs to provide the XML translation for the EPP Domain Transfer command.

The Transfer command provides a way of changing the ownership of an object from one sponsor to another. Various transfer operations allow a sponsor to query the current state of a transfer, or request, approve, cancel or reject a transfer.

Usage is demonstrated in the com.tucows.oxrs.epp.rtk.example.DomainExample class.

See Also:
DomainExample, epp_Action, epp_DomainTransfer, epp_DomainTransferReq, epp_DomainTransferRsp, General EPP Spec and the EPP Domain Spec for more information on the Transfer command, Serialized Form

Fields inherited from class com.tucows.oxrs.epp.rtk.xml.EPPDomainBase
contact_type_hash_, contact_type_to_string_array_, domain_status_hash_, period_unit_to_string_array_, status_to_string_array_
 
Fields inherited from class com.tucows.oxrs.epp.rtk.xml.EPPXMLBase
auth_type_string_to_type_hash_, auth_type_to_string_array_, transfer_op_to_string_array_, transfer_status_to_string_array_, transfer_status_to_type_hash_, xml_
 
Fields inherited from class com.tucows.oxrs.epp.rtk.RTKBase
CRLF, DATE_FMT, DEBUG_LEVEL_ONE, DEBUG_LEVEL_THREE, DEBUG_LEVEL_TWO, DEBUG_NONE, RTK_VERSION, UTC_FMT
 
Constructor Summary
EPPDomainTransfer()
          Default constructor
EPPDomainTransfer(java.lang.String xml)
          Constructor with response XML string to automatically parse.
 
Method Summary
 void fromXML(java.lang.String xml)
          Parses a new XML String and populates the response data member.
 epp_DomainTransferRsp getResponseData()
          Accessor method for the domain transfer response data.
 void setRequestData(epp_DomainTransferReq value)
          Accessor method for the domain transfer request data.
 java.lang.String toXML()
          Builds request XML from the request data.
 
Methods inherited from class com.tucows.oxrs.epp.rtk.xml.EPPDomainBase
domainContactTypeToString, domainStatusFromString, domainStatusToString, initContactTypeHash, initDomainStatusHash, initHashes, setCommonAttributes
 
Methods inherited from class com.tucows.oxrs.epp.rtk.xml.EPPXMLBase
addXMLElement, convertListToArray, convertListToStringArray, createDocRoot, createXMLFromDoc, getCheckResultFor, getDocumentElement, getElement, getNode, getUnspecNode, getXML, initAuthInfoStringToTypeHash, initTransferStatusToTypeHash, parseGenericResult, prepareAuthInfo, prepareCreds, prepareUnspecElement, stringListToXML, transferStatusFromString, transferStatusToString
 
Methods inherited from class com.tucows.oxrs.epp.rtk.RTKBase
_ids, debug, debug, getDebugLevel, getRTKProperties, setDebugLevel, setDebugLevel
 
Methods inherited from class org.omg.CORBA.portable.ObjectImpl
_create_request, _create_request, _duplicate, _get_delegate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _invoke, _is_a, _is_equivalent, _is_local, _non_existent, _orb, _release, _releaseReply, _request, _request, _servant_postinvoke, _servant_preinvoke, _set_delegate, _set_policy_override, equals, hashCode, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.omg.CORBA.Object
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override
 

Constructor Detail

EPPDomainTransfer

public EPPDomainTransfer()
Default constructor

EPPDomainTransfer

public EPPDomainTransfer(java.lang.String xml)
                  throws epp_XMLException,
                         epp_Exception
Constructor with response XML string to automatically parse.
Parameters:
xml - The EPP Domain Transfer response XML String
Throws:
epp_XMLException - if the response XML is not parsable or does not contain the expected data
epp_Exception - if the server has responded with an error code
See Also:
fromXML(String)
Method Detail

setRequestData

public void setRequestData(epp_DomainTransferReq value)
Accessor method for the domain transfer request data. Must be set to for this command.
Specified by:
setRequestData in interface epp_DomainTransferOperations
Parameters:
value - org.openrtk.idl.epp.epp_DomainTransferReq

getResponseData

public epp_DomainTransferRsp getResponseData()
Accessor method for the domain transfer response data.
Specified by:
getResponseData in interface epp_DomainTransferOperations
Parameters:
value - org.openrtk.idl.epp.epp_DomainTransferRsp

toXML

public java.lang.String toXML()
                       throws epp_XMLException
Builds request XML from the request data. Implemented method from org.openrtk.idl.epp.epp_Action interface.
Specified by:
toXML in interface epp_ActionOperations
Throws:
epp_XMLException - if required data is missing
See Also:
setRequestData(epp_DomainTransferReq), epp_Action

fromXML

public void fromXML(java.lang.String xml)
             throws epp_XMLException,
                    epp_Exception
Parses a new XML String and populates the response data member. Implemented method from org.openrtk.idl.epp.epp_Action interface.
Specified by:
fromXML in interface epp_ActionOperations
Parameters:
A - new XML String to parse
Throws:
epp_XMLException - if the response XML is not parsable or does not contain the expected data
epp_Exception - if the server has responded with an error code
See Also:
epp_Action

EPP RTK
for Java v 0.4.1

Copyright © 2001 - Tucows, Inc.