EPP 0.2.6

com.neulevel.epp.core.command
Class EppCommandLogin

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

public class EppCommandLogin
extends EppCommand

This EppCommandLogin class implements EPP Command Login entity.

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
EppCommandLogin(EppServiceMenu serviceMenu)
          Creates an EppCommandLogin object
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandLogin object.
 EppServiceMenu getServiceMenu()
          Gets the menu of services to be supported
 void setServiceMenu(EppServiceMenu serviceMenu)
          Sets the menu of services to be supported
 java.lang.String toString()
           
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandLogin 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

EppCommandLogin

public EppCommandLogin(EppServiceMenu serviceMenu)
Creates an EppCommandLogin object

Parameters:
serviceMenu - the menu of services to be supported
Method Detail

getServiceMenu

public EppServiceMenu getServiceMenu()
Gets the menu of services to be supported


setServiceMenu

public void setServiceMenu(EppServiceMenu serviceMenu)
Sets the menu of services to be supported


toXML

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

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

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandLogin 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 EppCommandLogin object in XML format
Returns:
an EppCommandLogin object, or null if the node is invalid

toString

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

EPP 0.2.6

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