Package com.verisign.epp.codec.change
Class EPPChangeUpdateResp
java.lang.Object
com.verisign.epp.codec.gen.EPPResponse
com.verisign.epp.codec.change.EPPChangeUpdateResp
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
An
EPPChangeUpdateResp provides an answer to an
EPPChangeUpdateCmd and includes the following attributes:- A <change:receipt> element that contains the Submission Receipt.
Use
getReceiptandsetReceiptto get and set the element.
- See Also:
-
Field Summary
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
ConstructorsConstructorDescriptionDefault constructor that needs thekeyattribute and the transid attribute set prior to callingencode.EPPChangeUpdateResp(EPPTransId aTransId) Creates anEPPChangeInfoResponly the transaction id set. -
Method Summary
Modifier and TypeMethodDescriptionclone()Does a deep clone of theEPPChangeInfoRespinstance.protected voidDecode theEPPChangeInfoRespattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPChangeInfoRespinstance.booleanCompare an instance ofEPPChangeInfoRespwith this instanceGets the EPP command namespace associated withEPPChangeInfoResp.getType()Gets the EPP response type associated withEPPChangeInfoResp.voidsetReceipt(String receipt) 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, hasExtension, hasExtensions, hasMessageQueue, hasMsgQueue, hasResultCode, isSuccess, setExtension, setExtensions, setMsgQueue, setResult, setResult, setResult, setResult, setResults, setTransId
-
Constructor Details
-
EPPChangeUpdateResp
public EPPChangeUpdateResp()Default constructor that needs thekeyattribute and the transid attribute set prior to callingencode. -
EPPChangeUpdateResp
Creates anEPPChangeInfoResponly the transaction id set. Thekeyattribute must be set prior to callingencode.- Parameters:
aTransId- The transaction id containing the server transaction and optionally the client transaction id
-
-
Method Details
-
clone
Does a deep clone of theEPPChangeInfoRespinstance.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- Cloned instance
- Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
Compare an instance ofEPPChangeInfoRespwith this instance- Overrides:
equalsin classEPPResponse- Parameters:
o-EPPResponseinstance to compare with- Returns:
trueif equal;falseotherwise
-
getNamespace
Gets the EPP command namespace associated withEPPChangeInfoResp.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
EPPChangeMapFactory.NS
-
getReceipt
-
getType
Gets the EPP response type associated withEPPChangeInfoResp.- Overrides:
getTypein classEPPResponse- Returns:
EPPChangeInfoResp.ELM_NAME
-
setReceipt
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPResponse- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
doDecode
Decode theEPPChangeInfoRespattributes from the aElement DOM Element tree.- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- Root DOM Element to decodeEPPChangeInfoRespfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
doEncode
Encode a DOM Element tree from the attributes of theEPPChangeInfoRespinstance.- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the
EPPChangeInfoRespinstance. - Throws:
EPPEncodeException- Unable to encodeEPPChangeInfoRespinstance.
-