com.liberty.rtk.extension.epp0705
Class IDN

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.IDN
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 IDN
extends com.tucows.oxrs.epp0705.rtk.xml.EPPXMLBase
implements org.openrtk.idl.epp0705.epp_Extension

blah blah blah....

See Also:
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
IDN()
          Default constructor
IDN(boolean isOtne)
          Do not initialize isOtne to be true unless you are doing otne and need to perform sending invalid IDN request
 
Method Summary
 void fromXML(java.lang.String xml)
          This method is used to parse the IDN extension contained in an EPP response.
The response usually contains the script but may also contain an error reason string if something went wrong in the server.
 java.lang.String getCommand()
          Accessor method for the EPP command for this IDN extension.
 java.lang.String getReason()
          Accessor method for the error reason string
 java.lang.String getScript()
          Accessor method for the IDN ISO locale/script.
 void setCommand(java.lang.String value)
          Accessor method for the EPP command for this IDN extension.
 void setReason(java.lang.String value)
          Accessor method for the error reason string
 void setScript(java.lang.String value)
          Accessor method for the IDN ISO locale/script.
 java.lang.String toXML()
          Renders the IDN extension "extension" for EPP 0705.
This qualifies the punycode name of the domain(s) in domain:create and domain:check commands.
 
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

IDN

public IDN()
Default constructor


IDN

public IDN(boolean isOtne)
Do not initialize isOtne to be true unless you are doing otne and need to perform sending invalid IDN request

Method Detail

setCommand

public void setCommand(java.lang.String value)
Accessor method for the EPP command for this IDN extension. Typical values are "create" and "check", though this is not validated.

Parameters:
value - The new command name

getCommand

public java.lang.String getCommand()
Accessor method for the EPP command for this IDN extension. Typical values are "create" and "check".

Returns:
value The current command name

setScript

public void setScript(java.lang.String value)
Accessor method for the IDN ISO locale/script. Format is governed by RFC3066 (eg. "en-CA", "de", etc...)

Parameters:
value - The new IDN script.

getScript

public java.lang.String getScript()
Accessor method for the IDN ISO locale/script. Format is governed by RFC3066 (eg. "en-CA", "de", etc...)

Returns:
value The current IDN script

setReason

public void setReason(java.lang.String value)
Accessor method for the error reason string

Parameters:
value - The new error reason string.

getReason

public java.lang.String getReason()
Accessor method for the error reason string

Returns:
value The current error reason string

toXML

public java.lang.String toXML()
                       throws org.openrtk.idl.epp0705.epp_XMLException
Renders the IDN extension "extension" for EPP 0705.
This qualifies the punycode name of the domain(s) in domain:create and domain:check commands. 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_Extension

fromXML

public void fromXML(java.lang.String xml)
             throws org.openrtk.idl.epp0705.epp_XMLException
This method is used to parse the IDN extension contained in an EPP response.
The response usually contains the script but may also contain an error reason string if something went wrong in the server.

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