EPP RTK
for Java v 0.7.2

com.tucows.oxrs.epp0705.rtk.xml
Class EPPContactCreate

java.lang.Object
  |
  +--org.omg.CORBA.portable.ObjectImpl
        |
        +--com.tucows.oxrs.epp0705.rtk.RTKBase
              |
              +--com.tucows.oxrs.epp0705.rtk.xml.EPPXMLBase
                    |
                    +--com.tucows.oxrs.epp0705.rtk.xml.EPPContactBase
                          |
                          +--com.tucows.oxrs.epp0705.rtk.xml.EPPContactCreate
All Implemented Interfaces:
epp_Action, epp_ActionOperations, epp_ContactCreate, epp_ContactCreateOperations, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.Object, java.io.Serializable

public class EPPContactCreate
extends EPPContactBase
implements epp_ContactCreate

Class for the EPP Contact Create command and response. Extends the epp_ContactCreate interface from the EPP IDLs to provide the XML translation for the EPP Contact Create command.

The Create command allows a client to create an instance of an EPP object in the server.

Usage is demonstrated in the com.tucows.oxrs.epp0705.rtk.example.ContactExample class.

See Also:
ContactExample, epp_Action, epp_ContactCreate, epp_ContactCreateReq, epp_ContactCreateRsp, Contact Spec for more information, Serialized Form

Field Summary
 
Fields inherited from class com.tucows.oxrs.epp0705.rtk.xml.EPPContactBase
contact_address_type_hash_, contact_status_hash_
 
Fields inherited from class com.tucows.oxrs.epp0705.rtk.xml.EPPXMLBase
auth_type_string_to_type_hash_, transfer_status_to_type_hash_, xml_
 
Fields inherited from class com.tucows.oxrs.epp0705.rtk.RTKBase
CRLF, DATE_FMT, DEBUG_LEVEL_ONE, DEBUG_LEVEL_THREE, DEBUG_LEVEL_TWO, DEBUG_NONE, RTK_VERSION, UTC_FMT
 
Constructor Summary
EPPContactCreate()
          Default constructor
EPPContactCreate(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_ContactCreateRsp getResponseData()
          Accessor method for the contact create response data.
 void setRequestData(epp_ContactCreateReq value)
          Accessor method for the contact create request data.
 java.lang.String toXML()
          Builds request XML from the request data.
 
Methods inherited from class com.tucows.oxrs.epp0705.rtk.xml.EPPContactBase
addressToXML, contactStatusFromString, contactStatusToString, getTrnData, initContactAddressTypeHash, initContactStatusHash, initHashes, setCommonAttributes
 
Methods inherited from class com.tucows.oxrs.epp0705.rtk.xml.EPPXMLBase
addXMLElement, convertListToArray, convertListToStringArray, createDocRoot, createXMLFromDoc, createXMLSnippetFromDoc, getAvailResultFor, getCheckResultFor, getDocumentElement, getElement, getExtensionNode, getNode, getPanData, getTransID, getXML, initAuthInfoStringToTypeHash, initTransferStatusToTypeHash, parseGenericCheckResults, parseGenericResult, prepareAuthInfo, prepareExtensionElement, stringListToXML, transferStatusFromString, transferStatusToString
 
Methods inherited from class com.tucows.oxrs.epp0705.rtk.RTKBase
_ids, debug, debug, getDebugLevel, getDebugPrintStream, getRTKProperties, setDebugLevel, setDebugLevel, setDebugPrintStream
 
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

EPPContactCreate

public EPPContactCreate()
Default constructor


EPPContactCreate

public EPPContactCreate(java.lang.String xml)
                 throws epp_XMLException,
                        epp_Exception
Constructor with response XML string to automatically parse.

Parameters:
xml - The EPP Contact Create 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_ContactCreateReq value)
Accessor method for the contact create request data. Must be set to for this command.

Specified by:
setRequestData in interface epp_ContactCreateOperations
Parameters:
value - org.openrtk.idl.epp0705.epp_ContactCreateReq

getResponseData

public epp_ContactCreateRsp getResponseData()
Accessor method for the contact create response data.

Specified by:
getResponseData in interface epp_ContactCreateOperations
Returns:
value org.openrtk.idl.epp0705.epp_ContactCreateRsp

toXML

public java.lang.String toXML()
                       throws epp_XMLException
Builds request XML from the request data. Implemented method from org.openrtk.idl.epp0705.epp_Action interface.

Specified by:
toXML in interface epp_ActionOperations
Returns:
the xml String.
Throws:
epp_XMLException - if required data is missing
See Also:
setRequestData(epp_ContactCreateReq), 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.epp0705.epp_Action interface.

Specified by:
fromXML in interface epp_ActionOperations
Parameters:
xml - The 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:
epp_Action

EPP RTK
for Java v 0.7.2

Copyright ? 2001-2002 - Tucows, Inc., 2003 - LibertyRMS