EPP 0.2.5

com.neulevel.epp.core.response
Class EppResponseDataCreateContact

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

public class EppResponseDataCreateContact
extends EppResponseDataCreate

This EppResponseDataCreateContact class implements EPP Response Data entity for EPP Command Create of EPP Contact objects.

Version:
$Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $
Author:
Ning Zhang ning.zhang@neustar.com

Fields inherited from class com.neulevel.epp.core.response.EppResponseDataCreate
roid
 
Constructor Summary
EppResponseDataCreateContact(java.lang.String id)
          Creates an EppResponseDataCreateContact object, given the contact id
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppResponseDataCreateContact object.
 java.lang.String getId()
          Gets the contact id
 void setId(java.lang.String id)
          Sets the contact id
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts an EppResponseDataCreateContact 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

EppResponseDataCreateContact

public EppResponseDataCreateContact(java.lang.String id)
Creates an EppResponseDataCreateContact object, given the contact id
Method Detail

setId

public void setId(java.lang.String id)
Sets the contact id

getId

public java.lang.String getId()
Gets the contact id

fromXML

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

EPP 0.2.5

Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.