EPP 0.2.4

com.neulevel.epp.core.command
Class EppCommandCreate

java.lang.Object
  |
  +--com.neulevel.epp.core.EppEntity
        |
        +--com.neulevel.epp.core.command.EppCommand
              |
              +--com.neulevel.epp.core.command.EppCommandCreate

public class EppCommandCreate
extends EppCommand

This EppCommandCreate class implements EPP Command Create entity.

Version:
$Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $
Author:
Ning Zhang ning.zhang@neustar.com

Fields inherited from class com.neulevel.epp.core.command.EppCommand
clTRID, creds, unspec
 
Constructor Summary
EppCommandCreate(EppObject object)
          Creates an EppCommandCreate object
EppCommandCreate(EppObject object, java.lang.String xid)
          Creates an EppCommandCreate object
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandCreate object.
 EppObject getObject()
          Gets the object to be processed
 void setObject(EppObject object)
          Sets the object to be processed
 java.lang.String toString()
           
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandCreate object into an XML element
 
Methods inherited from class com.neulevel.epp.core.command.EppCommand
check, create, delete, getClientTransactionId, getCreds, getUnspec, info, renew, setClientTransactionId, setCreds, setUnspec, toXMLCommon, toXMLCommon, toXMLCommon, toXMLCommon, transfer, update
 
Methods inherited from class com.neulevel.epp.core.EppEntity
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EppCommandCreate

public EppCommandCreate(EppObject object)
Creates an EppCommandCreate object
Parameters:
object - the EppObject to be processed

EppCommandCreate

public EppCommandCreate(EppObject object,
                        java.lang.String xid)
Creates an EppCommandCreate object
Parameters:
object - the EppObject to be processed
xid - the client transaction id associated with the operation
Method Detail

getObject

public EppObject getObject()
Gets the object to be processed

setObject

public void setObject(EppObject object)
Sets the object to be processed

toXML

public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
                                 java.lang.String tag)
Converts the EppCommandCreate object into an XML element
Overrides:
toXML in class EppEntity
Parameters:
doc - the XML Document object
tag - the tag/element name for the EppCommandCreate object
Returns:
an Element object

fromXML

public static EppEntity fromXML(org.w3c.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

toString

public java.lang.String toString()
Overrides:
toString in class EppEntity

EPP 0.2.4

Copyright © 2001 NeuStar, Inc. All Rights Reserved.