EppGreeting
This EppGreeting
class implements EPP Greeting entity used in the EPP Protocol initialization.
Inheritance:
Public Methods
-
EppGreeting()
- Creates an
EppGreeting
object with default setting
-
EppGreeting( DOMString serviceId, EppServiceMenu& serviceMenu )
- Creates an
EppGreeting
object, given a service identifier and service menu
-
~EppGreeting()
- Destructor
-
DOMString getServiceId()
- Gets the identifier of the service
-
void setServiceId( DOMString serviceId )
- Sets the identifier of the service
-
time_t getServiceDate()
- Gets the date associated with the service.
-
void setServiceDate( time_t serviceDate )
- Sets the date associated with the service
-
EppServiceMenu* getServiceMenu()
- Gets the menu of the service provided
-
void setServiceMenu( EppServiceMenu& serviceMenu )
- Sets the menu of the service provided
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppGreeting
object into an XML element
-
static EppGreeting* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppGreeting
object.
Public Methods
-
virtual int getEntityType()
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppGreeting
class implements EPP Greeting entity used
in the EPP Protocol initialization.
- EppGreeting()
-
Creates an
EppGreeting
object with default setting
- 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
- ~EppGreeting()
-
Destructor
- DOMString getServiceId()
-
Gets the identifier of the service
- void setServiceId( DOMString serviceId )
-
Sets the identifier of the service
- time_t getServiceDate()
-
Gets the date associated with the service. The default value is the
time_t
value when the EppGreeting
is
created.
- void setServiceDate( time_t serviceDate )
-
Sets the date associated with the service
- EppServiceMenu* getServiceMenu()
-
Gets the menu of the service provided
- void setServiceMenu( EppServiceMenu& serviceMenu )
-
Sets the menu of the service provided
- DOM_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
- static 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.