class EppGreeting

This EppGreeting class implements EPP Greeting entity used in the EPP Protocol initialization.

Inheritance:


Public Methods

[more] EppGreeting()
Creates an EppGreeting object with default setting
[more] EppGreeting( DOMString serviceId, EppServiceMenu& serviceMenu )
Creates an EppGreeting object, given a service identifier and service menu
[more] ~EppGreeting()
Destructor
[more]DOMString getServiceId()
Gets the identifier of the service
[more]void setServiceId( DOMString serviceId )
Sets the identifier of the service
[more]time_t getServiceDate()
Gets the date associated with the service.
[more]void setServiceDate( time_t serviceDate )
Sets the date associated with the service
[more]EppServiceMenu* getServiceMenu()
Gets the menu of the service provided
[more]void setServiceMenu( EppServiceMenu& serviceMenu )
Sets the menu of the service provided
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppGreeting object into an XML element
[more]static EppGreeting* fromXML( const DOM_Node& root )
Converts an XML element into an EppGreeting object.


Inherited from EppEntity:

Public Methods

ovirtual int getEntityType()
obool instanceOf( const int type )
ovirtual DOMString toString()

Protected Methods

oDOMString toString( const DOMString &tag )


Documentation

This EppGreeting class implements EPP Greeting entity used in the EPP Protocol initialization.

o EppGreeting()
Creates an EppGreeting object with default setting

o EppGreeting( DOMString serviceId, EppServiceMenu& serviceMenu )
Creates an EppGreeting object, given a service identifier and service menu

Parameters:
serviceId - the identifier of the service provided
serviceMenu - the menu of the service provided

o ~EppGreeting()
Destructor

oDOMString getServiceId()
Gets the identifier of the service

ovoid setServiceId( DOMString serviceId )
Sets the identifier of the service

otime_t getServiceDate()
Gets the date associated with the service. The default value is the time_t value when the EppGreeting is created.

ovoid setServiceDate( time_t serviceDate )
Sets the date associated with the service

oEppServiceMenu* getServiceMenu()
Gets the menu of the service provided

ovoid setServiceMenu( EppServiceMenu& serviceMenu )
Sets the menu of the service provided

oDOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppGreeting object into an XML element

Parameters:
doc - the XML DOM_Element object
tag - the tag/element name for the EppGreeting object
Returns:
an DOM_Element object

ostatic EppGreeting* fromXML( const DOM_Node& root )
Converts an XML element into an EppGreeting object. The caller of this method must make sure that the root node is of the EPP addrType.

Parameters:
root - root node for an EppGreeting object in XML format
Returns:
an EppGreeting object, or null if the node is invalid


This class has no child classes.
Author:
Ning Zhang ning.zhang@neustar.com
Version:
$Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $

Alphabetic index HTML hierarchy of classes or Java


Copyright © 2001 NeuStar, Inc. All Rights Reserved.