|
EPP RTK for Java v 0.5.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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.EPPContactBase | +--com.tucows.oxrs.epp.rtk.xml.EPPContactTransfer
Class for the EPP Contact Transfer command and response. Extends the epp_ContactTransfer interface from the EPP IDLs to provide the XML translation for the EPP Contact 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.ContactExample class.
ContactExample
,
epp_Action
,
epp_ContactTransfer
,
epp_ContactTransferReq
,
epp_ContactTransferRsp
,
General EPP Spec and the EPP Contact Spec for more information on the Transfer command
, Serialized FormFields inherited from class com.tucows.oxrs.epp.rtk.xml.EPPContactBase |
contact_status_hash_ |
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_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 | |
EPPContactTransfer()
Default constructor |
|
EPPContactTransfer(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_ContactTransferRsp |
getResponseData()
Accessor method for the contact transfer response data. |
void |
setRequestData(epp_ContactTransferReq value)
Accessor method for the contact transfer request data. |
java.lang.String |
toXML()
Builds request XML from the request data. |
Methods inherited from class com.tucows.oxrs.epp.rtk.xml.EPPContactBase |
addressToXML, contactStatusFromString, contactStatusToString, getTrnData, initContactStatusHash, initHashes, setCommonAttributes |
Methods inherited from class com.tucows.oxrs.epp.rtk.xml.EPPXMLBase |
addXMLElement, convertListToArray, convertListToStringArray, createDocRoot, createXMLFromDoc, getAvailResultFor, getCheckResultFor, getDocumentElement, getElement, getExtensionNode, getNode, getXML, initAuthInfoStringToTypeHash, initTransferStatusToTypeHash, parseGenericCheckResults, parseGenericResult, prepareAuthInfo, prepareCreds, prepareExtensionElement, 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 |
public EPPContactTransfer()
public EPPContactTransfer(java.lang.String xml) throws epp_XMLException, epp_Exception
xml
- The EPP Contact Transfer response XML Stringepp_XMLException
- if the response XML is not parsable or does not contain the expected dataepp_Exception
- if the server has responded with an error codefromXML(String)
Method Detail |
public void setRequestData(epp_ContactTransferReq value)
setRequestData
in interface epp_ContactTransferOperations
value
- org.openrtk.idl.epp.epp_ContactTransferReqpublic epp_ContactTransferRsp getResponseData()
getResponseData
in interface epp_ContactTransferOperations
value
- org.openrtk.idl.epp.epp_ContactTransferRsppublic java.lang.String toXML() throws epp_XMLException
toXML
in interface epp_ActionOperations
epp_XMLException
- if required data is missingsetRequestData(epp_ContactTransferReq)
,
epp_Action
public void fromXML(java.lang.String xml) throws epp_XMLException, epp_Exception
fromXML
in interface epp_ActionOperations
A
- new XML String to parseepp_XMLException
- if the response XML is not parsable or does not contain the expected dataepp_Exception
- if the server has responded with an error codeepp_Action
|
EPP RTK for Java v 0.5.0 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |