Class EPPAuthTokenDeleteCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPDeleteCmd
com.verisign.epp.codec.authtoken.v01.EPPAuthTokenDeleteCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Represents an EPP AuthToken <delete> command that allows a client to
delete an authToken object. The EPP <delete> command provides a transform
operation that allows a client to delete an authToken object. In addition to the
standard EPP command elements, the <delete> command MUST contain a
<authToken:delete< element that identifies the domain namespace and the location
of the authToken schema.
- An <authToken:authToken> element that contains the authToken
to be deleted. Use
getNameandsetNameto get and set the element.
EPPReponse is the response associated with
EPPAuthTokenDeleteCmd.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPAuthTokenDeleteCmd.static final StringXML Element Name ofEPPAuthTokenDeleteCmdroot element.Fields inherited from class com.verisign.epp.codec.gen.EPPCommand
extensions, OP_APPROVE, OP_CANCEL, OP_QUERY, OP_REJECT, OP_REQUEST, transId, TYPE_CHECK, TYPE_CREATE, TYPE_DELETE, TYPE_INFO, TYPE_LOGIN, TYPE_LOGOUT, TYPE_POLL, TYPE_RENEW, TYPE_TRANSFER, TYPE_UPDATE -
Constructor Summary
ConstructorsConstructorDescriptionAllocates a newEPPAuthTokenDeleteCmdwith default attribute values, which are all set tonull.EPPAuthTokenDeleteCmd(String aTransId, EPPAuthTokenData aAuthToken) EPPAuthTokenDeleteCmdconstructor with all the required attributes without the revokedReason, which can be set withsetRevokedReason(String). -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPAuthTokenDeleteCmd.protected voidDecode the EPPAuthTokenDeleteCmd attributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of the EPPAuthTokenDeleteCmd instance.booleanCompare an instance ofEPPAuthTokenDeleteCmdwith this instance.Get the authentication token data.Get the EPP command Namespace associated with EPPAuthTokenDeleteCmd.Get the revoked reason for this delete operation.voidsetAuthToken(EPPAuthTokenData aAuthToken) Set the authentication token data.voidsetRevokedReason(String aRevokedReason) Set the revoked reason for this delete operation.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.gen.EPPDeleteCmd
doGenDecode, doGenEncode, getTypeMethods inherited from class com.verisign.epp.codec.gen.EPPCommand
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getKey, getOp, getTransId, hasExtension, hasExtensions, hasKey, hasTransId, setExtension, setExtensions, setTransId
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPAuthTokenDeleteCmd.- See Also:
-
ELM_NAME
XML Element Name ofEPPAuthTokenDeleteCmdroot element.- See Also:
-
-
Constructor Details
-
EPPAuthTokenDeleteCmd
public EPPAuthTokenDeleteCmd()Allocates a newEPPAuthTokenDeleteCmdwith default attribute values, which are all set tonull. -
EPPAuthTokenDeleteCmd
EPPAuthTokenDeleteCmdconstructor with all the required attributes without the revokedReason, which can be set withsetRevokedReason(String).- Parameters:
aTransId- Transaction Id associated with command.aAuthToken- authentication token to delete.
-
-
Method Details
-
getNamespace
Get the EPP command Namespace associated with EPPAuthTokenDeleteCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPAuthTokenMapFactory.NS
-
getAuthenticationToken
Get the authentication token data.- Returns:
EPPAuthTokenDatainstance
-
setAuthToken
Set the authentication token data.- Parameters:
aAuthToken- Authentication Token
-
getRevokedReason
Get the revoked reason for this delete operation.- Returns:
- revoked reason
-
setRevokedReason
Set the revoked reason for this delete operation.- Parameters:
aRevokedReason- revoked reason
-
equals
Compare an instance ofEPPAuthTokenDeleteCmdwith this instance.- Overrides:
equalsin classEPPDeleteCmd- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
clone
CloneEPPAuthTokenDeleteCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- clone of
EPPAuthTokenDeleteCmd - Throws:
CloneNotSupportedException- standard Object.clone exception
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPCommand- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
doEncode
Encode a DOM Element tree from the attributes of the EPPAuthTokenDeleteCmd instance.- Specified by:
doEncodein classEPPDeleteCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the EPPAuthTokenDeleteCmd instance.
- Throws:
EPPEncodeException- Unable to encode EPPAuthTokenDeleteCmd instance.
-
doDecode
Decode the EPPAuthTokenDeleteCmd attributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPDeleteCmd- Parameters:
aElement- Root DOM Element to decode EPPAuthTokenDeleteCmd from.- Throws:
EPPDecodeException- Unable to decode aElement
-