EPP 0.2.6

com.neulevel.epp.core.command
Class EppCommandInfoHost

java.lang.Object
  extended bycom.neulevel.epp.core.EppEntity
      extended bycom.neulevel.epp.core.command.EppCommand
          extended bycom.neulevel.epp.core.command.EppCommandInfo
              extended bycom.neulevel.epp.core.command.EppCommandInfoHost

public class EppCommandInfoHost
extends EppCommandInfo

This EppCommandInfoHost class implements EPP Command Info entity for EPP Host objects.

Version:
$Revision: 1.1.1.1 $ $Date: 2005/12/06 20:11:35 $
Author:
Ning Zhang ning.zhang@neustar.com

Field Summary
 
Fields inherited from class com.neulevel.epp.core.command.EppCommand
clTRID, creds, unspec
 
Constructor Summary
EppCommandInfoHost(java.lang.String name)
          Creates an EppCommandInfoHost object for querying a host object based on its name
EppCommandInfoHost(java.lang.String name, java.lang.String xid)
          Creates an EppCommandInfoHost object for querying 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 EppCommandInfoHost object.
 java.lang.String getName()
          Gets the name of the host object to be queried
 void setName(java.lang.String name)
          Sets the name of the host object to be queried
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandInfoHost object into an XML element
 
Methods inherited from class com.neulevel.epp.core.command.EppCommandInfo
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

EppCommandInfoHost

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


EppCommandInfoHost

public EppCommandInfoHost(java.lang.String name,
                          java.lang.String xid)
Creates an EppCommandInfoHost object for querying 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 queried


setName

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


toXML

public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
                                 java.lang.String tag)
Converts the EppCommandInfoHost object into an XML element

Specified by:
toXML in class EppEntity
Parameters:
doc - the XML Document object
tag - the tag/element name for the EppCommandInfoHost object
Returns:
an Element object

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandInfoHost object. The caller of this method must make sure that the root node is of an EPP Command Info entity for EPP host object.

Parameters:
root - root node for an EppCommandInfoHost object in XML format
Returns:
an EppCommandInfoHost object, or null if the node is invalid

EPP 0.2.6

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