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$ $Date$
- Author:
- Ning Zhang ning.zhang@neustar.com
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 java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
EppResponseDataCreateContact
public EppResponseDataCreateContact(java.lang.String id)
- Creates an
EppResponseDataCreateContact
object,
given the contact id
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
objecttag
- the tag/element name for the
EppResponseDataCreateContact
object- Returns:
- an
Element
object
Copyright © 2001 NeuStar, Inc. All Rights Reserved.