com.liberty.rtk.extension.epprtk

Class TestNumber

Implemented Interfaces:
epp_Extension

public class TestNumber
extends EPPXMLBase
implements epp_Extension

This class is used to exchange Registrar Certification Test Number data with the Liberty .info Registry. The data should only be used in the OT&E environment and only during a registrar cerfication test.
See Also:
TestNumberExample

Constructor Summary

TestNumber()
Default constructor
TestNumber(String xml)
Constructor with Test Number Unspec XML string to automatically parse.

Method Summary

void
fromXML(String xml)
Parses an XML String of test number data from the extension section of a response from the Registry.
String
getTestNum()
Accessor method for the test number data member.
void
setTestNum(String value)
Accessor method for the test number data member.
String
toXML()
Converts the test number data into XML to be put into the extension section of the request.

Constructor Details

TestNumber

public TestNumber()
Default constructor

TestNumber

public TestNumber(String xml)
            throws epp_XMLException,
                   epp_Exception
Constructor with Test Number Unspec XML string to automatically parse.
Parameters:
xml - The Test Number Unspec response XML String

Method Details

fromXML

public void fromXML(String xml)
            throws epp_XMLException
Parses an XML String of test number data from the extension section of a response from the Registry. Implemented method from org.openrtk.idl.epprtk.epp_Unspec interface.
Parameters:
See Also:
org.openrtk.idl.epprtk.epp_Action

getTestNum

public String getTestNum()
Accessor method for the test number data member.
Returns:
value The test number

setTestNum

public void setTestNum(String value)
Accessor method for the test number data member. Normally in the format of "2.2.14"
Parameters:
value - The test number

toXML

public String toXML()
            throws epp_XMLException
Converts the test number data into XML to be put into the extension section of the request. Implemented method from org.openrtk.idl.epprtk.epp_Unspec interface.
See Also:
org.openrtk.idl.epprtk.epp_Unspec

Copyright © 2001-2003 - Afilias Limited