Package com.verisign.epp.codec.rgppoll
Class EPPRgpPollResponse
- java.lang.Object
-
- com.verisign.epp.codec.gen.EPPResponse
-
- com.verisign.epp.codec.rgppoll.EPPRgpPollResponse
-
- All Implemented Interfaces:
EPPCodecComponent,EPPMessage,java.io.Serializable,java.lang.Cloneable
public class EPPRgpPollResponse extends EPPResponse
A concrete EPPResponse that knows how to encode/decode RGP Poll responses from/to XML and object instance.Title: EPP 1.0 RGP
Description: RGP Poll Mapping for the EPP SDK
Copyright: Copyright (c) 2004
Company: VeriSign
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.StringELM_DOMAIN_NAMEThe domain name XML tag namestatic java.lang.StringELM_DUE_DATEThe report Due Date XML tag namestatic java.lang.StringELM_NAMEThe poll data XML tag namestatic java.lang.StringELM_REQ_DATEThe request Date XML tag name-
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
Constructors Constructor Description EPPRgpPollResponse()Create a new instance of EPPRgpPollResponse
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Objectclone()CloneEPPRgpPollResponse.voiddoDecode(org.w3c.dom.Element aElement)Populates the data of this instance from the given XML Element which is part of a DOM Documentorg.w3c.dom.ElementdoEncode(org.w3c.dom.Document aDocument)Put all data contained in this poll resonse into the given XML documentbooleanequals(java.lang.Object aObject)implements a deepEPPRgpPollResponsecompare.java.lang.StringgetName()java.lang.StringgetNamespace()Returns the XML namespace associated with theEPPResponse.java.util.DategetReportDueDate()java.util.DategetReqDate()EPPRgpPollStatusgetStatus()voidsetName(java.lang.String name)voidsetReportDueDate(java.util.Date reportDueDate)voidsetReqDate(java.util.Date reqDate)voidsetStatus(EPPRgpPollStatus aStatus)-
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, toString
-
-
-
-
Field Detail
-
ELM_NAME
public static final java.lang.String ELM_NAME
The poll data XML tag name- See Also:
- Constant Field Values
-
ELM_DOMAIN_NAME
public static final java.lang.String ELM_DOMAIN_NAME
The domain name XML tag name- See Also:
- Constant Field Values
-
ELM_REQ_DATE
public static final java.lang.String ELM_REQ_DATE
The request Date XML tag name- See Also:
- Constant Field Values
-
ELM_DUE_DATE
public static final java.lang.String ELM_DUE_DATE
The report Due Date XML tag name- See Also:
- Constant Field Values
-
-
Method Detail
-
getNamespace
public java.lang.String getNamespace()
Returns the XML namespace associated with theEPPResponse.- Specified by:
getNamespacein interfaceEPPCodecComponent- Specified by:
getNamespacein interfaceEPPMessage- Overrides:
getNamespacein classEPPResponse- Returns:
- XML namespace for the
EPPResponse.
-
doEncode
public org.w3c.dom.Element doEncode(org.w3c.dom.Document aDocument) throws EPPEncodeExceptionPut all data contained in this poll resonse into the given XML document- Overrides:
doEncodein classEPPResponse- Parameters:
aDocument- the DOM Document to attach data to.- Returns:
- the element that is a parent of the poll data
- Throws:
EPPEncodeException- Thrown if any errors occur during the encode process
-
doDecode
public void doDecode(org.w3c.dom.Element aElement) throws EPPDecodeExceptionPopulates the data of this instance from the given XML Element which is part of a DOM Document- Overrides:
doDecodein classEPPResponse- Parameters:
aElement- the element that is a parent of the poll data- Throws:
EPPDecodeException- thrown if any errors occur during the decode operation
-
equals
public boolean equals(java.lang.Object aObject)
implements a deepEPPRgpPollResponsecompare.- Overrides:
equalsin classEPPResponse- Parameters:
aObject-EPPRgpPollResponseinstance to compare with- Returns:
- true if equal false otherwise
-
clone
public java.lang.Object clone() throws java.lang.CloneNotSupportedExceptionCloneEPPRgpPollResponse.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classEPPResponse- Returns:
- clone of
EPPRgpPollResponse - Throws:
java.lang.CloneNotSupportedException- standard Object.clone exception
-
getStatus
public EPPRgpPollStatus getStatus()
-
setStatus
public void setStatus(EPPRgpPollStatus aStatus)
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getReqDate
public java.util.Date getReqDate()
-
setReqDate
public void setReqDate(java.util.Date reqDate)
-
getReportDueDate
public java.util.Date getReportDueDate()
-
setReportDueDate
public void setReportDueDate(java.util.Date reportDueDate)
-
-