com.tucows.oxrs.epprtk.rtk.xml

Class EPPGreeting

Implemented Interfaces:
epp_Action, epp_ActionOperations, epp_Hello, epp_HelloOperations, org.omg.CORBA.portable.IDLEntity, org.omg.CORBA.Object

public class EPPGreeting
extends EPPXMLBase
implements epp_Hello

Class to represent the EPP greeting from the server.
Version:
$Revision: 1.1 $ $Date: 2004/12/07 15:53:27 $
Author:
Daniel Manley
See Also:
EPPClient

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

EPPGreeting()
Default constructor.
EPPGreeting(String xml)
Constructor with greeting XML string to automatically parse.

Method Summary

void
fromXML(String xml)
Parses a new XML String and populates the response data member.
epp_Greeting
getResponseData()
Accessor method for the greeting data.
String
toXML()
Builds request XML from the request data.

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

Constructor Details

EPPGreeting

public EPPGreeting()
Default constructor.

EPPGreeting

public EPPGreeting(String xml)
            throws epp_XMLException,
                   epp_Exception
Constructor with greeting XML string to automatically parse.
Parameters:
xml - The EPP Greeting XML String
Throws:
epp_XMLException - if the response XML is not parsable or does not contain the expected data
epp_Exception - if the server has responded with an error code

Method Details

fromXML

public void fromXML(String xml)
            throws epp_XMLException,
                   epp_Exception
Parses a new XML String and populates the response data member. Implemented method from org.openrtk.idl.epprtk.epp_Action interface.
Specified by:
fromXML in interface epp_ActionOperations
Parameters:
Throws:
epp_XMLException - if the response XML is not parsable or does not contain the expected data
epp_Exception - if the server has responded with an error code
See Also:
epp_Action

getResponseData

public epp_Greeting getResponseData()
Accessor method for the greeting data.
Specified by:
getResponseData in interface epp_HelloOperations
Returns:
value org.openrtk.idl.epprtk.epp_Greeting

toXML

public String toXML()
            throws epp_XMLException
Builds request XML from the request data. Implemented method from org.openrtk.idl.epprtk.epp_Action interface. Note that there is no request data to set for this action.
Specified by:
toXML in interface epp_ActionOperations
Throws:
epp_XMLException - if required data is missing
See Also:
epp_Action

Copyright © 2001-2002 - Tucows, Inc., 2003 - LibertyRMS