EPP 0.4.9

com.neulevel.epp.xri.response
Class EppResponseDataPendingXriAuthority

java.lang.Object
  extended by com.neulevel.epp.core.EppEntity
      extended by com.neulevel.epp.core.response.EppResponseData
          extended by com.neulevel.epp.core.response.EppResponseDataPending
              extended by com.neulevel.epp.xri.response.EppResponseDataPendingXriAuthority

public class EppResponseDataPendingXriAuthority
extends EppResponseDataPending

This EppResponseDataPendingXriAuthority class implements EPP Response Data entity for EPP Pending Actions of EPP XRI Authority 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.response.EppResponseDataPending
paDate, paResult, paTRID
 
Constructor Summary
EppResponseDataPendingXriAuthority(java.lang.String authId)
          Creates an EppResponseDataPendingXriAuthority object
EppResponseDataPendingXriAuthority(java.lang.String authId, boolean result)
          Creates an EppResponseDataPendingXriAuthority object
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppResponseDataPendingXriAuthority object.
 java.lang.String getAuthorityId()
          Gets the identifier of the XRI authority object associated with the pending action
 void setAuthorityId(java.lang.String authId)
          Sets the identifier of the XRI authority object associated with the pending action
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts an EppResponseDataPendingXriAuthority object into an XML element.
 
Methods inherited from class com.neulevel.epp.core.response.EppResponseDataPending
fromXMLCommon, getDate, getResult, getTransactionId, setDate, setResult, setTransactionId, toXMLCommon
 
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

EppResponseDataPendingXriAuthority

public EppResponseDataPendingXriAuthority(java.lang.String authId)
Creates an EppResponseDataPendingXriAuthority object

Parameters:
authId - the identifier of the EppXriAuthority object associated with the pending action

EppResponseDataPendingXriAuthority

public EppResponseDataPendingXriAuthority(java.lang.String authId,
                                          boolean result)
Creates an EppResponseDataPendingXriAuthority object

Parameters:
id - the identifier of the EppXriAuthority object associated with the pending action
result - the boolean flag indicating if the pending action is a success or a failure
Method Detail

getAuthorityId

public java.lang.String getAuthorityId()
Gets the identifier of the XRI authority object associated with the pending action


setAuthorityId

public void setAuthorityId(java.lang.String authId)
Sets the identifier of the XRI authority object associated with the pending action


fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppResponseDataPendingXriAuthority object. The caller of this method must make sure that the root node is the resData element of EPP responseType for an pending action of an EPP XRI Authority object

Parameters:
root - root node for an EppResponseDataPendingXriAuthority object in XML format
Returns:
an EppResponseDataPendingXriAuthority 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 EppResponseDataPendingXriAuthority object into an XML element.

Specified by:
toXML in class EppEntity
Parameters:
doc - the XML Document object
tag - the tag/element name for the EppResponseDataPendingXriAuthority object
Returns:
an Element object

EPP 0.4.9

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