com.liberty.rtk.addon

Class IDN

Implemented Interfaces:
epp_Unspec

public class IDN
extends EPPXMLBase
implements epp_Unspec

blah blah blah....

Constructor Summary

IDN()
Default constructor

Method Summary

void
fromXML(String xml)
This method is used to parse the IDN unspec 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 unspec.
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 unspec.
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 unspec "extension" for EPP 02.
This qualifies the punycode name of the domain(s) in domain:create and domain:check commands.

Constructor Details

IDN

public IDN()
Default constructor

Method Details

fromXML

public void fromXML(String xml)
            throws epp_XMLException
This method is used to parse the IDN unspec 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.epp02.epp_Action

getCommand

public String getCommand()
Accessor method for the EPP command for this IDN unspec. 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 unspec. 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 unspec "extension" for EPP 02.
This qualifies the punycode name of the domain(s) in domain:create and domain:check commands. Implemented method from org.openrrc.rtk.epp02.epp_Unspec interface.
See Also:
org.openrtk.idl.epp0705.epp_Unspec

Copyright © 2001-2003 - Afilias Limited