EPP 0.4.9

com.neulevel.epp.xri.response
Class EppResponseDataRenewXriName

java.lang.Object
  extended by com.neulevel.epp.core.EppEntity
      extended by com.neulevel.epp.core.response.EppResponseData
          extended by com.neulevel.epp.core.response.EppResponseDataRenew
              extended by com.neulevel.epp.xri.response.EppResponseDataRenewXriName

public class EppResponseDataRenewXriName
extends EppResponseDataRenew

This EppResponseDataRenewXriName class implements EPP Response Data entity for EPP Command Renew of 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.response.EppResponseDataRenew
exDate
 
Constructor Summary
EppResponseDataRenewXriName(java.lang.String iname)
          Creates an EppResponseDataRenewXriName object
EppResponseDataRenewXriName(java.lang.String iname, java.util.Calendar exDate)
          Creates an EppResponseDataRenewXriName object
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppResponseDataRenewXriName object.
 java.lang.String getIName()
          Gets the i-name
 void setIName(java.lang.String iname)
          Sets the i-name
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts an EppResponseDataRenewXriName object into an XML element.
 
Methods inherited from class com.neulevel.epp.core.response.EppResponseDataRenew
getDateExpired, setDateExpired
 
Methods inherited from class com.neulevel.epp.core.response.EppResponseData
toString
 
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

EppResponseDataRenewXriName

public EppResponseDataRenewXriName(java.lang.String iname)
Creates an EppResponseDataRenewXriName object

Parameters:
iname - the i-name of the XRI i-name object renewed

EppResponseDataRenewXriName

public EppResponseDataRenewXriName(java.lang.String iname,
                                   java.util.Calendar exDate)
Creates an EppResponseDataRenewXriName object

Parameters:
iname - the i-name of the XRI i-name object renewed
exDate - the expiration date of the XRI i-name object renewed
Method Detail

getIName

public java.lang.String getIName()
Gets the i-name


setIName

public void setIName(java.lang.String iname)
Sets the i-name


fromXML

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

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

toXML

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

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

EPP 0.4.9

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