EPP 0.4.9

com.neulevel.epp.core.command
Class EppCommandInfoContact

java.lang.Object
  extended by com.neulevel.epp.core.EppEntity
      extended by com.neulevel.epp.core.command.EppCommand
          extended by com.neulevel.epp.core.command.EppCommandInfo
              extended by 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.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.command.EppCommand
clTRID, creds, extension
 
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.
 EppAuthInfo getAuthInfo()
          Gets the optional authorization info for querying the contact object
 java.lang.String getId()
          Gets the id of the contact object to be queried
 void setAuthInfo(EppAuthInfo authInfo)
          Sets the optional authorization info for querying the contact object
 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.EppCommandInfo
toString
 
Methods inherited from class com.neulevel.epp.core.command.EppCommand
addExtension, addExtension, check, create, delete, getClientTransactionId, getCreds, getExtension, getUnspec, info, renew, setClientTransactionId, setCreds, setUnspec, toXMLCommon, toXMLCommon, toXMLCommon, toXMLCommon, transfer, update
 
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

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

Method Detail

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


getAuthInfo

public EppAuthInfo getAuthInfo()
Gets the optional authorization info for querying the contact object


setAuthInfo

public void setAuthInfo(EppAuthInfo authInfo)
Sets the optional authorization info for querying the contact object


toXML

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

Specified by:
toXML in class EppEntity
Parameters:
doc - the XML Document object
tag - 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

EPP 0.4.9

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