EPP 0.4.9

com.neulevel.epp.xri.command
Class EppCommandRenewXriService

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

public class EppCommandRenewXriService
extends EppCommandRenew

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

EppCommandRenewXriService

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


EppCommandRenewXriService

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


EppCommandRenewXriService

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


EppCommandRenewXriService

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

Method Detail

getId

public java.lang.String getId()
Gets the identifier of the XRI i-service object to be renewed


setId

public void setId(java.lang.String id)
Sets the identifier of the XRI i-service object to be renewed


toXML

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

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

fromXML

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

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

EPP 0.4.9

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