Class EPPAuthTokenCreateResp
java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.authtoken.v01.EPPAuthTokenCreateResp
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Represents an EPP AuthToken <authToken:creData> response to a
EPPAuthTokenCreateCmd. When a <crate> command has been processed
successfully, the EPP <resData> element MUSt contain a child
<authToken:creData> element that identifies the authToken namespace and the
location of the authToken schema. The <authToken:creData> element contains
the following child elements:- A <authToken:authToken> element that contains the authentication token
that has been created.
Use
getAuthTokenandsetAuthTokento get and set the element.
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringXML local name forEPPAuthTokenCreateResp.static final StringXML root tag forEPPAuthTokenCreateResp.Fields inherited from class com.verisign.epp.codec.gen.EPPResponse
ELM_EXTENSION, ELM_MESSAGE_QUEUE, ELM_MESSAGE_QUEUE_QDATE, ELM_RESPONSE_DATA, extensions, TRANSFER_CLIENT_APPROVED, TRANSFER_CLIENT_CANCELLED, TRANSFER_CLIENT_REJECTED, TRANSFER_PENDING, TRANSFER_SERVER_APPROVED, TRANSFER_SERVER_CANCELLED -
Constructor Summary
ConstructorsConstructorDescriptionEPPAuthTokenCreateRespdefault constructor.EPPAuthTokenCreateResp(EPPTransId aTransId, EPPAuthTokenData aAuthToken) EPPAuthTokenCreateRespconstructor that the transaction id associated with the response. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPAuthTokenCreateResp.protected voidDecode theEPPAuthTokenCreateRespattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPAuthTokenCreateRespinstance.booleanCompare an instance ofEPPAuthTokenCreateRespwith this instance.Gets the EPP AuthToken associated withEPPAuthTokenCreateResp.Gets the EPP command namespace associated withEPPAuthTokenCreateResp.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.EPPResponse
addExtension, decode, encode, findDuplicateExtNamespaces, findExtNamespaces, findExtNamespaceSuffixes, findUnsupportedExtNamespaces, findUnsupportedExtNamespaceSuffixes, getExtension, getExtension, getExtensions, getMessageQueue, getMsgQueue, getMsgQueueCount, getMsgQueueDate, getMsgQueueMsg, getQDate, getResult, getResults, getTransId, getType, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransId
-
Field Details
-
ELM_LOCALNAME
XML local name forEPPAuthTokenCreateResp.- See Also:
-
ELM_NAME
XML root tag forEPPAuthTokenCreateResp.- See Also:
-
-
Constructor Details
-
EPPAuthTokenCreateResp
public EPPAuthTokenCreateResp()EPPAuthTokenCreateRespdefault constructor. -
EPPAuthTokenCreateResp
EPPAuthTokenCreateRespconstructor that the transaction id associated with the response.- Parameters:
aTransId- Transaction Id associated with command.aAuthToken-EPPAuthTokenDatainstance.
-
-
Method Details
-
doEncode
Encode a DOM Element tree from the attributes of theEPPAuthTokenCreateRespinstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the EPPAuthTokenCreateResp instance.
- Throws:
EPPEncodeException- Unable to encode EPPAuthTokenCreateResp instance.
-
doDecode
Decode theEPPAuthTokenCreateRespattributes from the aElement DOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPAuthTokenCreateRespfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
clone
CloneEPPAuthTokenCreateResp.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- clone of
EPPAuthTokenCreateResp - Throws:
CloneNotSupportedException- standard Object.clone exception
-
setAuthToken
Set the authentication token data.- Parameters:
aAuthToken- Authentication Token
-
getAuthToken
Gets the EPP AuthToken associated withEPPAuthTokenCreateResp.- Returns:
EPPAuthTokenDatainstance
-
getNamespace
Gets the EPP command namespace associated withEPPAuthTokenCreateResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
EPPAuthTokenMapFactory.NS
-
equals
Compare an instance ofEPPAuthTokenCreateRespwith this instance.- Overrides:
equalsin classEPPResponse- Parameters:
aObject- Object to compare with.- Returns:
trueif this object is the same as the aObject argument;falseotherwise
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPResponse- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-