EPP 0.2.3

com.neulevel.epp.core.response
Class EppResponseDataCreateDomain

java.lang.Object
  |
  +--com.neulevel.epp.core.EppEntity
        |
        +--com.neulevel.epp.core.response.EppResponseData
              |
              +--com.neulevel.epp.core.response.EppResponseDataCreate
                    |
                    +--com.neulevel.epp.core.response.EppResponseDataCreateDomain

public class EppResponseDataCreateDomain
extends EppResponseDataCreate

This EppResponseDataCreateDomain class implements EPP Response Data entity for EPP Command Create of EPP Domain objects.

Version:
$Revision$ $Date$
Author:
Ning Zhang ning.zhang@neustar.com

Fields inherited from class com.neulevel.epp.core.response.EppResponseDataCreate
roid
 
Constructor Summary
EppResponseDataCreateDomain(java.lang.String name)
          Creates an EppResponseDataCreateDomain object
EppResponseDataCreateDomain(java.lang.String name, java.util.Calendar exDate)
          Creates an EppResponseDataCreateDomain object
EppResponseDataCreateDomain(java.lang.String name, java.lang.String roid)
          Deprecated. for EPP-04 (06/29/2001)
EppResponseDataCreateDomain(java.lang.String name, java.lang.String roid, java.util.Calendar exDate)
          Deprecated. for EPP-04 (06/29/2001)
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppResponseDataCreateDomain object.
 java.util.Calendar getDateExpired()
          Gets expiration date of the domain created
 java.lang.String getName()
          Sets the name of the domain created
 void setDateExpired(java.util.Calendar exDate)
          Sets expiration date of the domain created
 void setName(java.lang.String name)
          Sets the name of the domain created
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts an EppResponseDataCreateDomain object into an XML element.
 
Methods inherited from class com.neulevel.epp.core.response.EppResponseDataCreate
getRoid, setRoid
 
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

EppResponseDataCreateDomain

public EppResponseDataCreateDomain(java.lang.String name)
Creates an EppResponseDataCreateDomain object
Parameters:
name - the name of the EppDomain object created

EppResponseDataCreateDomain

public EppResponseDataCreateDomain(java.lang.String name,
                                   java.util.Calendar exDate)
Creates an EppResponseDataCreateDomain object
Parameters:
name - the name of the EppDomain object created
exDate - the expiration date of the EppDomain object created

EppResponseDataCreateDomain

public EppResponseDataCreateDomain(java.lang.String name,
                                   java.lang.String roid)
Deprecated. for EPP-04 (06/29/2001)

Creates an EppResponseDataCreateDomain object
Parameters:
name - the name of the EppDomain object created
roid - the ROID of the EppDomain object created

EppResponseDataCreateDomain

public EppResponseDataCreateDomain(java.lang.String name,
                                   java.lang.String roid,
                                   java.util.Calendar exDate)
Deprecated. for EPP-04 (06/29/2001)

Creates an EppResponseDataCreateDomain object
Parameters:
name - the name of the EppDomain object created
roid - the ROID of the EppDomain object created
exDate - the expiration date of the EppDomain object created
Method Detail

getName

public java.lang.String getName()
Sets the name of the domain created

setName

public void setName(java.lang.String name)
Sets the name of the domain created

getDateExpired

public java.util.Calendar getDateExpired()
Gets expiration date of the domain created

setDateExpired

public void setDateExpired(java.util.Calendar exDate)
Sets expiration date of the domain created

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppResponseDataCreateDomain object. The caller of this method must make sure that the root node is the resData element of EPP responseType for creating an EPP Domain object
Parameters:
root - root node for an EppResponseDataCreateDomain object in XML format
Returns:
an EppResponseDataCreateDomain 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 EppResponseDataCreateDomain object into an XML element.
Overrides:
toXML in class EppEntity
Parameters:
doc - the XML Document object
tag - the tag/element name for the EppResponseDataCreateDomain object
Returns:
an Element object

EPP 0.2.3

Copyright © 2001 NeuStar, Inc. All Rights Reserved.