com.liberty.rtk.extension.epp0705

Class IDN

Implemented Interfaces:
epp_Extension

public class IDN
extends EPPXMLBase
implements epp_Extension

blah blah blah....

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(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.
String
getCommand()
Accessor method for the EPP command for this IDN extension.
String
getReason()
Accessor method for the error reason string
String
getScript()
Accessor method for the IDN ISO locale/script.
void
setCommand(String value)
Accessor method for the EPP command for this IDN extension.
void
setReason(String value)
Accessor method for the error reason string
void
setScript(String value)
Accessor method for the IDN ISO locale/script.
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.

Constructor Details

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
Parameters:

Method Details

fromXML

public void fromXML(String xml)
            throws 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.
Parameters:
See Also:
org.openrtk.idl.epp0705.epp_Action

getCommand

public String getCommand()
Accessor method for the EPP command for this IDN extension. Typical values are "create" and "check".
Returns:
value The current command name

getReason

public String getReason()
Accessor method for the error reason string
Returns:
value The current error reason string

getScript

public 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

setCommand

public void setCommand(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

setReason

public void setReason(String value)
Accessor method for the error reason string
Parameters:
value - The new error reason string.

setScript

public void setScript(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.

toXML

public String toXML()
            throws 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.
See Also:
org.openrtk.idl.epp0705.epp_Extension

Copyright © 2001-2003 - Afilias Limited