EPP 0.4.9

com.neulevel.epp.xri.command
Class EppCommandRenewXriName

java.lang.Object
  extended by com.neulevel.epp.core.EppEntity
      extended by com.neulevel.epp.core.command.EppCommand
          extended by com.neulevel.epp.core.command.EppCommandRenew
              extended by com.neulevel.epp.xri.command.EppCommandRenewXriName

public class EppCommandRenewXriName
extends EppCommandRenew

This EppCommandRenewXriName class implements EPP Command Renew entity for EPP XRI I-Name objects.

Version:
$Revision: 1.2 $ $Date: 2006/03/01 01:35:38 $
Author:
Ning Zhang ning.zhang@neustar.com

Field Summary
 
Fields inherited from class com.neulevel.epp.core.command.EppCommandRenew
curExpDate, period
 
Fields inherited from class com.neulevel.epp.core.command.EppCommand
clTRID, creds, extension
 
Constructor Summary
EppCommandRenewXriName(java.lang.String iname, java.util.Calendar curExpDate)
          Creates an EppCommandRenewXriName object with a default expiration period, specified by the registry
EppCommandRenewXriName(java.lang.String iname, java.util.Calendar curExpDate, EppPeriod period, java.lang.String xid)
          Creates an EppCommandRenewXriName object with a specified expiration period, and a client transaction id associated with the operation
EppCommandRenewXriName(java.lang.String iname, java.util.Calendar curExpDate, java.lang.String xid)
          Creates an EppCommandRenewXriName object with a default expiration period, specified by the registry, and a client transaction id associated with the operation
EppCommandRenewXriName(java.lang.String iname, java.lang.String xid)
          Creates an EppCommandRenewXriName object with a client transaction id associated with the operation.
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandRenewXriName object.
 java.lang.String getIName()
          Gets the i-name of the XRI i-name object to be renewed
 void setIName(java.lang.String iname)
          Sets the i-name of the XRI i-name object to be renewed
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandRenewXriName object into an XML element
 
Methods inherited from class com.neulevel.epp.core.command.EppCommandRenew
getCurrentExpireDate, getPeriod, setCurrentExpireDate, setPeriod, toString
 
Methods inherited from class com.neulevel.epp.core.command.EppCommand
addExtension, addExtension, check, create, delete, getClientTransactionId, getCreds, getExtension, 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

EppCommandRenewXriName

public EppCommandRenewXriName(java.lang.String iname,
                              java.util.Calendar curExpDate)
Creates an EppCommandRenewXriName object with a default expiration period, specified by the registry


EppCommandRenewXriName

public EppCommandRenewXriName(java.lang.String iname,
                              java.lang.String xid)
Creates an EppCommandRenewXriName object with a client transaction id associated with the operation. The current date of expiration would be the current date.


EppCommandRenewXriName

public EppCommandRenewXriName(java.lang.String iname,
                              java.util.Calendar curExpDate,
                              java.lang.String xid)
Creates an EppCommandRenewXriName object with a default expiration period, specified by the registry, and a client transaction id associated with the operation


EppCommandRenewXriName

public EppCommandRenewXriName(java.lang.String iname,
                              java.util.Calendar curExpDate,
                              EppPeriod period,
                              java.lang.String xid)
Creates an EppCommandRenewXriName object with a specified expiration period, and a client transaction id associated with the operation

Method Detail

getIName

public java.lang.String getIName()
Gets the i-name of the XRI i-name object to be renewed


setIName

public void setIName(java.lang.String iname)
Sets the i-name of the XRI i-name object to be renewed


toXML

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

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

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandRenewXriName object. The caller of this method must make sure that the root node is of an EPP Command Renew entity for EPP XRI I-Name object

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

EPP 0.4.9

Copyright © 2001-2006 NeuStar, Inc. All Rights Reserved.