EPP 0.4.9

com.neulevel.epp.xri.command
Class EppCommandRenewXriNumber

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.EppCommandRenewXriNumber

public class EppCommandRenewXriNumber
extends EppCommandRenew

This EppCommandRenewXriNumber class implements EPP Command Renew entity for EPP XRI I-Number 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
EppCommandRenewXriNumber(java.lang.String inumber, java.util.Calendar curExpDate)
          Creates an EppCommandRenewXriNumber object with a default expiration period, specified by the registry
EppCommandRenewXriNumber(java.lang.String inumber, java.util.Calendar curExpDate, EppPeriod period, java.lang.String xid)
          Creates an EppCommandRenewXriNumber object with a specified expiration period, and a client transaction id associated with the operation
EppCommandRenewXriNumber(java.lang.String inumber, java.util.Calendar curExpDate, java.lang.String xid)
          Creates an EppCommandRenewXriNumber object with a default expiration period, specified by the registry, and a client transaction id associated with the operation
EppCommandRenewXriNumber(java.lang.String inumber, java.lang.String xid)
          Creates an EppCommandRenewXriNumber 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 EppCommandRenewXriNumber object.
 java.lang.String getINumber()
          Gets the i-number of the XRI i-number object to be renewed
 void setINumber(java.lang.String inumber)
          Sets the i-number of the XRI i-number object to be renewed
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandRenewXriNumber 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

EppCommandRenewXriNumber

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


EppCommandRenewXriNumber

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


EppCommandRenewXriNumber

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


EppCommandRenewXriNumber

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

Method Detail

getINumber

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


setINumber

public void setINumber(java.lang.String inumber)
Sets the i-number of the XRI i-number object to be renewed


toXML

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

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

fromXML

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

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

EPP 0.4.9

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