public class EPPLaunchPolicyPollPolicy extends java.lang.Object implements EPPCodecComponent
EPPLaunchPolicyPollPolicy
defines the poll messaging policy for the
phase. The poll policy contains the following required boolean attributes:
intermediateStatus
- A boolean value indicating whether the
server will insert poll messages, per [RFC5730], for the applicable
intermediate statuses, including the "pendingValidation", "validated",
"pendingAllocation", and "invalid" statuses, using the <domain:infData>
element with the <launch:infData> extension.nonMandatoryInfo
- A boolean value indicating whether the server
will include non-mandatory information in the <domain:infData> element
of the poll message.extensionInfo
- A boolean value indicating whether the server
will include further extensions that would normally be included in the
response to the <domain:info> command, per [RFC5731], in the poll
messageModifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
XML local name for
EPPLaunchPolicyPollPolicy . |
static java.lang.String |
ELM_NAME
XML root tag for
EPPLaunchPolicyPollPolicy . |
Constructor and Description |
---|
EPPLaunchPolicyPollPolicy()
Default constructor for
EPPLaunchPolicyPollPolicy . |
EPPLaunchPolicyPollPolicy(java.lang.Boolean aIntermediateStatus,
java.lang.Boolean aNonMandatoryInfo,
java.lang.Boolean aExtensionInfo) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
clone an
EPPCodecComponent . |
void |
decode(org.w3c.dom.Element aElement)
decode a DOM element tree to initialize the instance attributes.
|
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
encode instance into a DOM element tree.
|
boolean |
equals(java.lang.Object aObject)
Compare an instance of
EPPOrgExt with this instance. |
java.lang.Boolean |
getExtensionInfo()
Gets the boolean value indicating whether the server will include further
extensions that would normally be included in the response to the
<domain:info> command, per [RFC5731], in the poll message.
|
java.lang.Boolean |
getIntermediateStatus()
Gets the boolean value indicating whether the server will insert poll
messages, per [RFC5730], for the applicable intermediate statuses,
including the "pendingValidation", "validated", "pendingAllocation", and
"invalid" statuses, using the <domain:infData> element with the
<launch:infData> extension.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
java.lang.Boolean |
getNonMandatoryInfo()
Gets the boolean value indicating whether the server will include
non-mandatory information in the <domain:infData> element of the
poll message.
|
void |
setExtensionInfo(java.lang.Boolean aExtensionInfo)
Gets the boolean value indicating whether the server will include further
extensions that would normally be included in the response to the
<domain:info> command, per [RFC5731], in the poll message.
|
void |
setIntermediateStatus(java.lang.Boolean aIntermediateStatus)
Sets the boolean value indicating whether the server will insert poll
messages, per [RFC5730], for the applicable intermediate statuses,
including the "pendingValidation", "validated", "pendingAllocation", and
"invalid" statuses, using the <domain:infData> element with the
<launch:infData> extension.
|
void |
setNonMandatoryInfo(java.lang.Boolean aNonMandatoryInfo)
Sets the boolean value indicating whether the server will include
non-mandatory information in the <domain:infData> element of the
poll message.
|
java.lang.String |
toString()
Implementation of
Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
public static final java.lang.String ELM_LOCALNAME
EPPLaunchPolicyPollPolicy
.public static final java.lang.String ELM_NAME
EPPLaunchPolicyPollPolicy
.public EPPLaunchPolicyPollPolicy()
EPPLaunchPolicyPollPolicy
. All of the
boolean attributes must be set prior to calling encode(Document)
.public EPPLaunchPolicyPollPolicy(java.lang.Boolean aIntermediateStatus, java.lang.Boolean aNonMandatoryInfo, java.lang.Boolean aExtensionInfo)
aIntermediateStatus
- Boolean indication of whether the intermediate status poll
messages are included if definedaNonMandatoryInfo
- Boolean value indicating whether the server will include
non-mandatory information in the <domain:infData> element
of the poll message.aExtensionInfo
- Boolean value indicating whether the server will include further
extensions that would normally be included in the response to
the <domain:info> command, per [RFC5731], in the poll
message.public org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
encode
in interface EPPCodecComponent
aDocument
- DOM Document, which acts is an Element factoryEPPEncodeException
- Error encoding EPPLaunchPolicyPollPolicy
public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
aElement
argument represents the root DOM element and is used to
traverse the DOM nodes for instance attribute values.decode
in interface EPPCodecComponent
aElement
- Element
to decodeEPPDecodeException
- Error decoding Element
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPCodecComponent
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPOrgExt
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic java.lang.String toString()
Object.toString
, which will result in an
indented XML String
representation of the concrete
EPPCodecComponent
.toString
in class java.lang.Object
String
if successful; ERROR
otherwise.public boolean equals(java.lang.Object aObject)
EPPOrgExt
with this instance.equals
in class java.lang.Object
aObject
- Object to compare with.true
if equal; false
otherwise.public java.lang.Boolean getIntermediateStatus()
null
otherwise.public void setIntermediateStatus(java.lang.Boolean aIntermediateStatus)
aIntermediateStatus
- The intermediate status boolean valuepublic java.lang.Boolean getNonMandatoryInfo()
null
otherwise.public void setNonMandatoryInfo(java.lang.Boolean aNonMandatoryInfo)
aNonMandatoryInfo
- The non-mandatory information boolean valuepublic java.lang.Boolean getExtensionInfo()
null
otherwise.public void setExtensionInfo(java.lang.Boolean aExtensionInfo)
aExtensionInfo
- The extension info boolean valuepublic java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.