class EppCommandCreate

This EppCommandCreate class implements EPP Command Create entity.

Inheritance:


Public Methods

[more] EppCommandCreate()
Creates an EppCommandCreate object
[more] EppCommandCreate( EppObject* object )
Creates an EppCommandCreate object
[more] EppCommandCreate( EppObject* object, DOMString xid )
Creates an EppCommandCreate object
[more] ~EppCommandCreate()
Destructor
[more]virtual int getEntityType()
Returns the run-time type of an EppEntity object
[more]EppObject* getObject()
Gets the object to be processed
[more]void setObject( EppObject* object )
Sets the object to be processed
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppCommandCreate object into an XML element
[more]static EppCommandCreate* fromXML( const DOM_Node& root )
Converts an XML element into an EppCommandCreate object.


Inherited from EppCommand:

Public Methods

oEppCreds* getCreds()
ovoid setCreds( EppCreds& creds )
oEppUnspec* getUnspec()
ovoid setUnspec( EppUnspec& unspec )
oDOMString getClientTransactionId()
ovoid setClientTransactionId( DOMString xid )
ostatic EppCommandCreate create( EppObject* object, DOMString xid )
ostatic EppCommandCheck* check( int objectType, DOMString xid )
ostatic EppCommandDelete* remove( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandInfo* info( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandUpdate* update( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandTransfer* transfer( int objectType, DOMString objectId, DOMString xid )
ostatic EppCommandRenew* renew( int objectType, DOMString objectId, DOMString xid )

Protected Fields

oEppCreds* creds
oEppUnspec* unspec
oDOMString clTRID

Protected Methods

oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element )
oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, ValueVectorOf<DOM_Attr>* attrList )
oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, EppEntity* object )
oDOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, EppEntity* object, const DOMString tag, ValueVectorOf<DOM_Attr>* attrList )


Inherited from EppEntity:

Public Methods

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

Protected Methods

oDOMString toString( const DOMString &tag )


Documentation

This EppCommandCreate class implements EPP Command Create entity.

o EppCommandCreate()
Creates an EppCommandCreate object

o EppCommandCreate( EppObject* object )
Creates an EppCommandCreate object

Parameters:
object - the EppObject to be processed
Note: the memory associated with the object data will not be freed by this class. The caller of this method should be responsible to free the memory, if needed.

o EppCommandCreate( EppObject* object, DOMString xid )
Creates an EppCommandCreate object

Parameters:
object - the EppObject to be processed
xid - the client transaction id associated with the operation

o ~EppCommandCreate()
Destructor

ovirtual int getEntityType()
Returns the run-time type of an EppEntity object

oEppObject* getObject()
Gets the object to be processed

ovoid setObject( EppObject* object )
Sets the object to be processed


Note: the memory associated with the object data will not be freed by this class. The caller of this method should be responsible to free the memory, if needed.

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

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

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

Parameters:
root - root node for an EppCommandCreate object in XML format
Returns:
an EppCommandCreate 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.1.1 $ $Date: 2005/12/06 20:11:35 $

Alphabetic index HTML hierarchy of classes or Java


Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.