|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.omg.CORBA.portable.ObjectImpl
com.tucows.oxrs.epprtk.rtk.RTKBase
com.tucows.oxrs.epprtk.rtk.xml.EPPXMLBase
com.liberty.rtk.extension.epprtk.IDN
public class IDN
IDN Helper class
Field Summary |
---|
Fields inherited from class com.tucows.oxrs.epprtk.rtk.xml.EPPXMLBase |
---|
auth_type_string_to_type_hash_, transfer_status_to_type_hash_, xml_ |
Fields inherited from class com.tucows.oxrs.epprtk.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. |
boolean |
getChg()
|
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 |
setChg(boolean value)
|
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 02. This qualifies the punycode name of the domain(s) in domain:create and domain:check commands. |
Methods inherited from class com.tucows.oxrs.epprtk.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.epprtk.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 |
---|
public IDN()
public IDN(boolean isOtne)
boolean
- to control if bypassing script tag when create XMLMethod Detail |
---|
public void setCommand(java.lang.String value)
value
- The new command namepublic java.lang.String getCommand()
public void setScript(java.lang.String value)
value
- The new IDN script.public java.lang.String getScript()
public void setReason(java.lang.String value)
value
- The new error reason string.public java.lang.String getReason()
public void setChg(boolean value)
public boolean getChg()
public java.lang.String toXML() throws org.openrtk.idl.epprtk.epp_XMLException
toXML
in interface org.openrtk.idl.epprtk.epp_ExtensionOperations
org.openrtk.idl.epprtk.epp_XMLException
- if required data is missingepp_Extension
public void fromXML(java.lang.String xml) throws org.openrtk.idl.epprtk.epp_XMLException
fromXML
in interface org.openrtk.idl.epprtk.epp_ExtensionOperations
A
- new IDN response extension XML String to parse
org.openrtk.idl.epprtk.epp_XMLException
- if the response XML is not parsable or does not contain the expected dataepp_Action
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |