Package com.verisign.epp.codec.change
Class EPPChangeInfoCmd
java.lang.Object
com.verisign.epp.codec.gen.EPPCommand
com.verisign.epp.codec.gen.EPPInfoCmd
com.verisign.epp.codec.change.EPPChangeInfoCmd
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,Serializable,Cloneable
Represents an EPP <change:info> command that is used to retrieve an EPP
Change Request object. The <change:info> element MUST contain the
following child elements:
- A <change:requestID> element that contains the Request Id. Use
getRequestIdandsetRequestIdto get and set the element.
EPPChangeInfoResp is the concrete EPPReponse
associated with EPPChangeInfoCmd.- See Also:
-
Field Summary
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
ConstructorsConstructorDescriptionEPPChangeInfoCmd(String aTransId) EPPChangeInfoCmd(String aTransId, String requestId) -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPChangeInfoCmd.protected voidDecode theEPPChangeInfoCmdattributes from the aElement DOM Element tree.protected ElementEncode a DOM Element tree from the attributes of theEPPChangeInfoCmdinstance.booleanCompare an instance ofEPPChangeInfoCmdwith this instancegetKey()Gets the key for the change object, which is the request identifier.Gets the EPP command Namespace associated withEPPChangeInfoCmd.voidsetRequestId(String requestId) 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, getOp, getTransId, hasExtension, hasExtensions, hasKey, hasTransId, setExtension, setExtensions, setTransId
-
Constructor Details
-
EPPChangeInfoCmd
public EPPChangeInfoCmd() -
EPPChangeInfoCmd
-
EPPChangeInfoCmd
-
-
Method Details
-
clone
CloneEPPChangeInfoCmd.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPCommand- Returns:
- clone of
EPPChangeInfoCmd - Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
Compare an instance ofEPPChangeInfoCmdwith this instance- Overrides:
equalsin classEPPInfoCmd- Parameters:
o- Object to compare with.- Returns:
trueif equal;falseotherwise.
-
getNamespace
Gets the EPP command Namespace associated withEPPChangeInfoCmd.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Specified by:
getNamespacein classEPPCommand- Returns:
EPPChangeMapFactory.NS
-
getKey
Gets the key for the change object, which is the request identifier.- Overrides:
getKeyin classEPPCommand- Returns:
- The request identifier if set;
nullotherwise.
-
getRequestId
-
setRequestId
-
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.- Overrides:
toStringin classEPPCommand- Returns:
- Indented XML
Stringif successful;ERRORotherwise.
-
doDecode
Decode theEPPChangeInfoCmdattributes from the aElement DOM Element tree.- Specified by:
doDecodein classEPPInfoCmd- Parameters:
aElement- Root DOM Element to decodeEPPChangeInfoCmdfrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
doEncode
Encode a DOM Element tree from the attributes of theEPPChangeInfoCmdinstance.- Specified by:
doEncodein classEPPInfoCmd- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Root DOM Element representing the
EPPChangeInfoCmdinstance. - Throws:
EPPEncodeException- Unable to encodeEPPChangeInfoCmdinstance.
-