EPP RTK
for Java v 0.5.0

com.tucows.oxrs.epp.rtk.xml.extension
Class RTKVersion

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.extension.RTKVersion
All Implemented Interfaces:
epp_Extension, epp_ExtensionOperations, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.Object, java.io.Serializable
Direct Known Subclasses:
RTKVersion

public class RTKVersion
extends EPPXMLBase
implements epp_Extension

This class is used to exchange RTK version number with the Registry.

Version:
$Revision: 1.1 $ $Date: 2002/03/13 02:14:05 $
Author:
Oleg Snegirev
See Also:
Serialized Form

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
RTKVersion()
          Default constructor
 
Method Summary
 void fromXML(java.lang.String xml)
          Parses an XML String of test number data from the Extension section of a response from the Registry.
static java.lang.String getVersion()
          Returns RTK version number.
 java.lang.String toXML()
          Converts the RTK version number into XML to be put into the extension section of the request.
 
Methods inherited from class com.tucows.oxrs.epp.rtk.xml.EPPXMLBase
addXMLElement, convertListToArray, convertListToStringArray, createDocRoot, createXMLFromDoc, getAvailResultFor, getCheckResultFor, getDocumentElement, getElement, getExtensionNode, getNode, getXML, initAuthInfoStringToTypeHash, initHashes, 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

RTKVersion

public RTKVersion()
Default constructor
Method Detail

getVersion

public static java.lang.String getVersion()
Returns RTK version number.
Returns:
String

toXML

public java.lang.String toXML()
                       throws epp_XMLException
Converts the RTK version number into XML to be put into the extension section of the request. Implemented method from org.openrrc.rtk.epp.epp_Extension interface.
Specified by:
toXML in interface epp_ExtensionOperations
Throws:
epp_XMLException - if required data is missing
See Also:
epp_Extension

fromXML

public void fromXML(java.lang.String xml)
             throws epp_XMLException
Parses an XML String of test number data from the Extension section of a response from the Registry. Implemented method from org.openrrc.rtk.epp.epp_Extension interface.
NOTE: this method is empty because RTK version number will never be send from server side to the client.
Specified by:
fromXML in interface epp_ExtensionOperations
Parameters:
A - new test number Extension XML String to parse
Throws:
epp_XMLException - if the response XML is not parsable or does not contain the expected data
See Also:
epp_Action

EPP RTK
for Java v 0.5.0

Copyright © 2001 - Tucows, Inc.