Class EPPAuthTokenInfoCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPInfoCmd
com.verisign.epp.codec.authtoken.v01.EPPAuthTokenInfoCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Represents an EPP AuthToken <info> command that is used to retrieve
information associated with an authToken. The <authToken:authToken> element MUST
contain the following child element:
- A <authToken:authToken> element that contains the authToken for which information is requested.
EPPAuthTokenInfoResp is the concrete EPPReponse associated with
EPPAuthTokenInfoCmd.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPAuthTokenInfoCmd.static final StringXML Element Name ofEPPAuthTokenInfoCmdroot 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 newEPPAuthTokenInfoCmdwith default attribute values, which are all set tonull.EPPAuthTokenInfoCmd(String aTransId, EPPAuthTokenData aAuthToken) EPPAuthTokenInfoCmdconstructor with all the required attributes. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPAuthTokenInfoCmd.protected voidDecode the EPPAuthTokenInfoCmd attributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of the EPPAuthTokenInfoCmd instance.booleanCompare an instance ofEPPAuthTokenInfoCmdwith this instance.Get the authentication token data.Get the EPP command Namespace associated with EPPAuthTokenInfoCmd.voidsetAuthToken(EPPAuthTokenData aAuthToken) Set the authentication token data.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.Methods inherited from class com.verisign.epp.codec.gen.EPPInfoCmd
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 forEPPAuthTokenInfoCmd.- See Also:
-
ELM_NAME
XML Element Name ofEPPAuthTokenInfoCmdroot element.- See Also:
-
-
Constructor Details
-
EPPAuthTokenInfoCmd
public EPPAuthTokenInfoCmd()Allocates a newEPPAuthTokenInfoCmdwith default attribute values, which are all set tonull. -
EPPAuthTokenInfoCmd
EPPAuthTokenInfoCmdconstructor with all the required attributes.- Parameters:
aTransId- Transaction Id associated with command.aAuthToken- authentication token to get information on.
-
-
Method Details
-
getNamespace
Get the EPP command Namespace associated with EPPAuthTokenInfoCmd.- 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
-
equals
Compare an instance ofEPPAuthTokenInfoCmdwith this instance.- Overrides:
equalsin classEPPInfoCmd- Parameters:
aObject- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
clone
CloneEPPAuthTokenInfoCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- clone of
EPPAuthTokenInfoCmd - 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 EPPAuthTokenInfoCmd instance.- Specified by:
doEncodein classEPPInfoCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the EPPAuthTokenInfoCmd instance.
- Throws:
EPPEncodeException- Unable to encode EPPAuthTokenInfoCmd instance.
-
doDecode
Decode the EPPAuthTokenInfoCmd attributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPInfoCmd- Parameters:
aElement- Root DOM Element to decode EPPAuthTokenInfoCmd from.- Throws:
EPPDecodeException- Unable to decode aElement
-