com.neulevel.epp.core.command
Class EppCommandInfoContact
java.lang.Object
|
+--com.neulevel.epp.core.EppEntity
|
+--com.neulevel.epp.core.command.EppCommand
|
+--com.neulevel.epp.core.command.EppCommandInfo
|
+--com.neulevel.epp.core.command.EppCommandInfoContact
- public class EppCommandInfoContact
- extends EppCommandInfo
This EppCommandInfoContact
class implements EPP Command Info
entity for EPP Contact objects.
- Version:
- $Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $
- Author:
- Ning Zhang ning.zhang@neustar.com
Constructor Summary |
EppCommandInfoContact(java.lang.String id)
Creates an EppCommandInfoContact object for
querying a contact object based on its id |
EppCommandInfoContact(java.lang.String id,
java.lang.String xid)
Creates an EppCommandInfoContact object for
querying a contact object based on its id, given a client
transaction id assoicated with the operation |
Method Summary |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandInfoContact
object. |
java.lang.String |
getId()
Gets the id of the contact object to be queried |
void |
setId(java.lang.String id)
Sets the id of the contact object to be queried |
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppCommandInfoContact object into an XML
element |
Methods inherited from class com.neulevel.epp.core.command.EppCommand |
check,
create,
delete,
getClientTransactionId,
getCreds,
getUnspec,
info,
renew,
setClientTransactionId,
setCreds,
setUnspec,
toXMLCommon,
toXMLCommon,
toXMLCommon,
toXMLCommon,
transfer,
update |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
EppCommandInfoContact
public EppCommandInfoContact(java.lang.String id)
- Creates an
EppCommandInfoContact
object for
querying a contact object based on its id
EppCommandInfoContact
public EppCommandInfoContact(java.lang.String id,
java.lang.String xid)
- Creates an
EppCommandInfoContact
object for
querying a contact object based on its id, given a client
transaction id assoicated with the operation
getId
public java.lang.String getId()
- Gets the id of the contact object to be queried
setId
public void setId(java.lang.String id)
- Sets the id of the contact object to be queried
toXML
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
- Converts the
EppCommandInfoContact
object into an XML
element
- Overrides:
- toXML in class EppEntity
- Parameters:
doc
- the XML Document
objecttag
- the tag/element name for the
EppCommandInfoContact
object- Returns:
- an
Element
object
fromXML
public static EppEntity fromXML(org.w3c.dom.Node root)
- Converts an XML element into an
EppCommandInfoContact
object. The caller of this method must make sure that the root node
is of an EPP Command Info entity for EPP contact object.
- Parameters:
root
- root node for an EppCommandInfoContact
object in XML format- Returns:
- an
EppCommandInfoContact
object, or null
if the node is invalid
Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.