public class EPPLaunchInfo extends java.lang.Object implements EPPCodecComponent
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ELM_LOCALNAME
Constant for the launch phase info extension local name
|
static java.lang.String |
ELM_NAME
Constant for the launch phase info extension tag
|
Constructor and Description |
---|
EPPLaunchInfo()
Create an EPPLaunchInf instance
|
EPPLaunchInfo(EPPLaunchPhase aPhase)
Create a
EPPLaunchInfo instance with the required phase
attribute value. |
EPPLaunchInfo(EPPLaunchPhase aPhase,
java.lang.String aApplicationId)
Create a
EPPLaunchInfo instance with both the required phase
and optional application identifier attribute values. |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
clone()
Clone
EPPLaunchInfo . |
void |
decode(org.w3c.dom.Element aElement)
Decode the DOM element to the
EPPLaunchInfo . |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode the
EPPLaunchInfo to a DOM Element |
boolean |
equals(java.lang.Object aObject)
implements a deep
EPPLaunchInfo compare. |
java.lang.String |
getApplicationId()
Gets the application identifier of the launch application.
|
java.lang.String |
getNamespace()
Returns the XML namespace associated with the
EPPCodecComponent . |
EPPLaunchPhase |
getPhase()
Gets phase during which the application or registration was submitted or
is associated with.
|
boolean |
isIncludeMark()
Get the flag indicating whether or not to include the mark in the
response.
|
void |
setApplicationId(java.lang.String aApplicationId)
Sets the application identifier of the launch application.
|
void |
setIncludeMark(boolean aIncludeMark)
Sets the flag for indicating whether or not to include the mark in the
response.
|
void |
setPhase(EPPLaunchPhase aPhase)
Sets the phase during which the application or registration was submitted
or is associated with.
|
void |
setPhase(java.lang.String aPhaseString)
Sets the phase with one of the
EPPLaunchPhase
PHASE constants. |
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public EPPLaunchInfo()
public EPPLaunchInfo(EPPLaunchPhase aPhase)
EPPLaunchInfo
instance with the required phase
attribute value.aPhase
- Phase during which the application or registration was
submitted or is associated withpublic EPPLaunchInfo(EPPLaunchPhase aPhase, java.lang.String aApplicationId)
EPPLaunchInfo
instance with both the required phase
and optional application identifier attribute values.aPhase
- Phase during which the application or registration was
submitted or is associated withaApplicationId
- Application identifier of the launch applicationpublic EPPLaunchPhase getPhase()
null
otherwise.public void setPhase(EPPLaunchPhase aPhase)
aPhase
- Phase during which the application or registration was
submitted or is associated withpublic void setPhase(java.lang.String aPhaseString)
EPPLaunchPhase
PHASE
constants.aPhaseString
- One of the EPPLaunchPhase
PHASE
constants.public java.lang.String getApplicationId()
null
otherwise.public void setApplicationId(java.lang.String aApplicationId)
aApplicationId
- Application identifier of the launch applicationpublic boolean isIncludeMark()
true
to include the mark; false
otherwise.public void setIncludeMark(boolean aIncludeMark)
aIncludeMark
- true
to include the mark; false
otherwise.public java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLaunchInfo
.clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLaunchInfo
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPLaunchInfo
to a DOM Elementencode
in interface EPPCodecComponent
aDocument
- a DOM Document to attach data to.EPPEncodeException
- Thrown if any errors prevent encoding.public void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPLaunchInfo
.decode
in interface EPPCodecComponent
aElement
- DOM Element to decode the attribute valuesEPPDecodeException
- Error decoding the DOM Elementpublic boolean equals(java.lang.Object aObject)
EPPLaunchInfo
compare.equals
in class java.lang.Object
aObject
- EPPLaunchInfo
instance to compare withpublic java.lang.String getNamespace()
EPPCodecComponent
.getNamespace
in interface EPPCodecComponent
EPPCodecComponent
.Copyright © VeriSign Inc. All Rights Reserved.