com.liberty.rtk.extension.epp0705
Class DomainProtocol

java.lang.Object
  |
  +--org.omg.CORBA.portable.ObjectImpl
        |
        +--com.tucows.oxrs.epp0705.rtk.RTKBase
              |
              +--com.tucows.oxrs.epp0705.rtk.xml.EPPXMLBase
                    |
                    +--com.liberty.rtk.extension.epp0705.DomainProtocol
All Implemented Interfaces:
org.openrtk.idl.epp0705.epp_Extension, org.openrtk.idl.epp0705.epp_ExtensionOperations, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.Object, java.io.Serializable

public class DomainProtocol
extends com.tucows.oxrs.epp0705.rtk.xml.EPPXMLBase
implements org.openrtk.idl.epp0705.epp_Extension

This extension is the .org domain's protocol in which it was registered: RRP or EPP. The .org EPP server will optionally return the extension XML for this class in the <domain:info> response. If the extension is not present and this handler is called, no exception will be thrown and the protocol will be set to "epp". The .org registry specifies that the default protocol value is "epp".

See Also:
DomainProtocolExample, Serialized Form

Field Summary
 
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
DomainProtocol()
          Default constructor
DomainProtocol(java.lang.String xml)
          Constructor with Protocol Version Extension XML string (from .org's ) to automatically parse.
 
Method Summary
 void fromXML(java.lang.String xml)
          This would parse a response from the server with the extension.
 java.lang.String getProtocol()
          Accessor method for the domain protocol
 void setProtocol(java.lang.String value)
          Accessor method for the domain protocol
 java.lang.String toXML()
          Converts the test number data into XML to be put into the unspec section of the request.
 
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, initHashes, initTransferStatusToTypeHash, parseGenericCheckResults, parseGenericResult, prepareAuthInfo, prepareExtensionElement, stringListToXML, transferStatusFromString, transferStatusToString
 
Methods inherited from class com.tucows.oxrs.epp0705.rtk.RTKBase
_ids, debug, debug, getDebugLevel, getDebugPrintStream, getEasyProperty, 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

DomainProtocol

public DomainProtocol()
Default constructor


DomainProtocol

public DomainProtocol(java.lang.String xml)
               throws org.openrtk.idl.epp0705.epp_XMLException,
                      org.openrtk.idl.epp0705.epp_Exception
Constructor with Protocol Version Extension XML string (from .org's ) to automatically parse.

Parameters:
xml - The Protocol Version Extension response XML String
Throws:
org.openrtk.idl.epp0705.epp_XMLException - if the response XML is not parsable or does not contain the expected data
org.openrtk.idl.epp0705.epp_Exception
See Also:
fromXML(String)
Method Detail

setProtocol

public void setProtocol(java.lang.String value)
Accessor method for the domain protocol

Parameters:
value - The new value for the domain protocol

getProtocol

public java.lang.String getProtocol()
Accessor method for the domain protocol

Returns:
value The current value of the domain protocol

toXML

public java.lang.String toXML()
                       throws org.openrtk.idl.epp0705.epp_XMLException
Converts the test number data into XML to be put into the unspec section of the request. Implemented method from org.openrrc.rtk.epp0705.epp_Unspec interface.

Specified by:
toXML in interface org.openrtk.idl.epp0705.epp_ExtensionOperations
Throws:
org.openrtk.idl.epp0705.epp_XMLException - if required data is missing
See Also:
epp_Unspec

fromXML

public void fromXML(java.lang.String xml)
             throws org.openrtk.idl.epp0705.epp_XMLException
This would parse a response from the server with the extension. but is only used in the request.
Implemented method from org.openrtk.idl.epp0705.epp_Extension interface.

Specified by:
fromXML in interface org.openrtk.idl.epp0705.epp_ExtensionOperations
Throws:
org.openrtk.idl.epp0705.epp_XMLException - if the response XML is not parsable or does not contain the expected data
See Also:
epp_Action


Copyright © 2001-2003 - Afilias Limited