EppCommandCreate
This EppCommandCreate
class implements EPP Command Create entity.
Inheritance:
Public Methods
-
EppCommandCreate()
- Creates an
EppCommandCreate
object
-
EppCommandCreate( EppObject* object )
- Creates an
EppCommandCreate
object
-
EppCommandCreate( EppObject* object, DOMString xid )
- Creates an
EppCommandCreate
object
-
~EppCommandCreate()
- Destructor
-
virtual int getEntityType()
- Returns the run-time type of an EppEntity object
-
EppObject* getObject()
- Gets the object to be processed
-
void setObject( EppObject* object )
- Sets the object to be processed
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppCommandCreate
object into an XML element
-
static EppCommandCreate* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppCommandCreate
object.
Public Methods
-
EppCreds* getCreds()
-
void setCreds( EppCreds& creds )
-
EppUnspec* getUnspec()
-
void setUnspec( EppUnspec& unspec )
-
DOMString getClientTransactionId()
-
void setClientTransactionId( DOMString xid )
-
static EppCommandCreate create( EppObject* object, DOMString xid )
-
static EppCommandCheck* check( int objectType, DOMString xid )
-
static EppCommandDelete* remove( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandInfo* info( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandUpdate* update( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandTransfer* transfer( int objectType, DOMString objectId, DOMString xid )
-
static EppCommandRenew* renew( int objectType, DOMString objectId, DOMString xid )
Protected Fields
-
EppCreds* creds
-
EppUnspec* unspec
-
DOMString clTRID
Protected Methods
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element )
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, ValueVectorOf<DOM_Attr>* attrList )
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, EppEntity* object )
-
DOM_Element toXMLCommon( DOM_Document& doc, const DOMString command, DOM_Element& element, EppEntity* object, const DOMString tag, ValueVectorOf<DOM_Attr>* attrList )
Public Methods
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppCommandCreate
class implements EPP Command Create
entity.
- EppCommandCreate()
-
Creates an
EppCommandCreate
object
- 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.
- 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
- ~EppCommandCreate()
-
Destructor
- virtual int getEntityType()
-
Returns the run-time type of an EppEntity object
- EppObject* getObject()
-
Gets the object to be processed
- void 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.
- DOM_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
- static 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 $ $Date: 2001/11/05 20:20:36 $
Alphabetic index HTML hierarchy of classes or Java
Copyright © 2001-2002 NeuStar, Inc. All Rights Reserved.