EPP 0.2.4

com.neulevel.epp.core.command
Class EppCommandDeleteHost

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

public class EppCommandDeleteHost
extends EppCommandDelete

This EppCommandDeleteHost class implements EPP Command Delete entity for EPP Host objects.

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
EppCommandDeleteHost(java.lang.String name)
          Creates an EppCommandDeleteHost object for deleting a host object based on its name
EppCommandDeleteHost(java.lang.String name, java.lang.String xid)
          Creates an EppCommandDeleteHost object for deleting a host object based on its name, given a client transaction id associated with the operation
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandDeleteHost object.
 java.lang.String getName()
          Gets the name of the host object to be deleted
 void setName(java.lang.String name)
          Sets the name of the host object to be deleted
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandDeleteHost object into an XML element
 
Methods inherited from class com.neulevel.epp.core.command.EppCommandDelete
toString
 
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

EppCommandDeleteHost

public EppCommandDeleteHost(java.lang.String name)
Creates an EppCommandDeleteHost object for deleting a host object based on its name

EppCommandDeleteHost

public EppCommandDeleteHost(java.lang.String name,
                            java.lang.String xid)
Creates an EppCommandDeleteHost object for deleting a host object based on its name, given a client transaction id associated with the operation
Method Detail

getName

public java.lang.String getName()
Gets the name of the host object to be deleted

setName

public void setName(java.lang.String name)
Sets the name of the host object to be deleted

toXML

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

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandDeleteHost object. The caller of this method must make sure that the root node is of an EPP Command Delete entity for EPP host object.
Parameters:
root - root node for an EppCommandDeleteHost object in XML format
Returns:
an EppCommandDeleteHost object, or null if the node is invalid

EPP 0.2.4

Copyright © 2001 NeuStar, Inc. All Rights Reserved.