EPP 0.4.9

com.neulevel.epp.xri.command
Class EppCommandDeleteXriAuthority

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.EppCommandDelete
              extended by com.neulevel.epp.xri.command.EppCommandDeleteXriAuthority

public class EppCommandDeleteXriAuthority
extends EppCommandDelete

This EppCommandDelete class implements EPP Command Delete entity for 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.command.EppCommand
clTRID, creds, extension
 
Constructor Summary
EppCommandDeleteXriAuthority(java.lang.String authId)
          Creates an EppCommandDeleteXriAuthority object for deleting an XRI authority based on its identifier
EppCommandDeleteXriAuthority(java.lang.String authId, java.lang.String xid)
          Creates an EppCommandDeleteXriAuthority object for deleting an XRI authority based on its identifier, given a client transaction id associated with the operation
 
Method Summary
static EppEntity fromXML(org.w3c.dom.Node root)
          Converts an XML element into an EppCommandDeleteXriAuthority object.
 EppAuthInfo getAuthInfo()
          Gets the authorization info for the delete operation
 java.lang.String getAuthorityId()
          Gets the identifier of the XRI authority object to be deleted
 void setAuthInfo(EppAuthInfo authInfo)
          Sets the authorization info for the delete operation
 void setAuthorityId(java.lang.String authId)
          Sets the identifier of the XRI authority object to be deleted
 org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
          Converts the EppCommandDeleteXriAuthority object into an XML element
 
Methods inherited from class com.neulevel.epp.core.command.EppCommandDelete
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

EppCommandDeleteXriAuthority

public EppCommandDeleteXriAuthority(java.lang.String authId)
Creates an EppCommandDeleteXriAuthority object for deleting an XRI authority based on its identifier


EppCommandDeleteXriAuthority

public EppCommandDeleteXriAuthority(java.lang.String authId,
                                    java.lang.String xid)
Creates an EppCommandDeleteXriAuthority object for deleting an XRI authority based on its identifier, given a client transaction id associated with the operation

Method Detail

getAuthorityId

public java.lang.String getAuthorityId()
Gets the identifier of the XRI authority object to be deleted


setAuthorityId

public void setAuthorityId(java.lang.String authId)
Sets the identifier of the XRI authority object to be deleted


getAuthInfo

public EppAuthInfo getAuthInfo()
Gets the authorization info for the delete operation


setAuthInfo

public void setAuthInfo(EppAuthInfo authInfo)
Sets the authorization info for the delete operation


toXML

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

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

fromXML

public static EppEntity fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppCommandDeleteXriAuthority object. The caller of this method must make sure that the root node is of an EPP Command Delete entity for EPP XriAuthority object.

Parameters:
root - root node for an EppCommandDeleteXriAuthority object in XML format
Returns:
an EppCommandDeleteXriAuthority object, or null if the node is invalid

EPP 0.4.9

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