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
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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
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 processedxid
- the client transaction id associated with the
operation
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
objecttag
- 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
Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.