|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.verisign.epp.codec.launch.EPPLaunchPhase
public class EPPLaunchPhase
Field Summary | |
---|---|
static java.lang.String |
ATTR_NAME
OPTIONAL attribute name that can define a sub-phase or the full name of the phase when the <launch:phase> element has the "custom" value. |
static java.lang.String |
ELM_LOCALNAME
Constant for the phase local name |
static java.lang.String |
ELM_NAME
Constant for the phase qualified name (prefix and local name) |
static java.lang.String |
PHASE_CLAIMS
Trademark claims phase 1 as defined by Trademark Clearinghouse model of displaying a claims notice to clients for domain names that match trademarks. |
static java.lang.String |
PHASE_CUSTOM
Post launch phase that is also referred to as "steady state". |
static java.lang.String |
PHASE_LANDRUSH
Post sunrise phase when non-trademark holders are allowed to register domain names with steps taken to address a large volume of initial registrations. |
static java.lang.String |
PHASE_OPEN
Post launch phase that is also referred to as "steady state". |
static java.lang.String |
PHASE_SUNRISE
Phase when trademark holders can submit registrations or applications with trademark information that can be validated by. |
Constructor Summary | |
---|---|
EPPLaunchPhase()
Default constructor. |
|
EPPLaunchPhase(java.lang.String aPhase)
Create EPPLaunchPhase instance with a defined phase value. |
|
EPPLaunchPhase(java.lang.String aPhase,
java.lang.String aName)
Create EPPLaunchPhase instance with a defined phase value and
with the phase name value. |
Method Summary | |
---|---|
java.lang.Object |
clone()
Clone EPPLaunchPhase . |
void |
decode(org.w3c.dom.Element aElement)
Decode the EPPLaunchPhase element aElement DOM Element tree. |
org.w3c.dom.Element |
encode(org.w3c.dom.Document aDocument)
Encode a DOM Element tree from the attributes of the EPPLaunchPhase
instance. |
boolean |
equals(java.lang.Object aObject)
implements a deep EPPLaunchPhase compare. |
java.lang.String |
getName()
Gets the OPTIONAL phase name or sub-phase name. |
java.lang.String |
getPhase()
Gets the phase value, which should match one of the PHASE constants. |
void |
setName(java.lang.String aName)
Sets the OPTIONAL phase name or sub-phase name. |
void |
setPhase(java.lang.String aPhase)
Sets the phase value. |
java.lang.String |
toString()
Implementation of Object.toString , which will result in an
indented XML String representation of the concrete
EPPCodecComponent . |
Methods inherited from class java.lang.Object |
---|
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final java.lang.String PHASE_SUNRISE
public static final java.lang.String PHASE_LANDRUSH
public static final java.lang.String PHASE_CLAIMS
public static final java.lang.String PHASE_OPEN
public static final java.lang.String PHASE_CUSTOM
public static final java.lang.String ELM_LOCALNAME
public static final java.lang.String ELM_NAME
public static final java.lang.String ATTR_NAME
Constructor Detail |
---|
public EPPLaunchPhase()
setPhase(String)
method.
public EPPLaunchPhase(java.lang.String aPhase)
EPPLaunchPhase
instance with a defined phase value.
aPhase
- Phase value using one of the PHASE
constants.public EPPLaunchPhase(java.lang.String aPhase, java.lang.String aName)
EPPLaunchPhase
instance with a defined phase value and
with the phase name value.
aPhase
- Phase value using one of the PHASE
constants.aName
- Name of sub-phase or full name of phase when aPhase
is set to PHASE_CUSTOM
.Method Detail |
---|
public java.lang.String getPhase()
PHASE
constants.
public void setPhase(java.lang.String aPhase)
aPhase
- Phase value, which should be one of the PHASE
constants.public java.lang.String getName()
public void setName(java.lang.String aName)
aName
- Phase namepublic java.lang.Object clone() throws java.lang.CloneNotSupportedException
EPPLaunchPhase
.
clone
in interface EPPCodecComponent
clone
in class java.lang.Object
EPPLaunchPhase
java.lang.CloneNotSupportedException
- standard Object.clone exceptionpublic void decode(org.w3c.dom.Element aElement) throws EPPDecodeException
EPPLaunchPhase
element aElement DOM Element tree.
decode
in interface EPPCodecComponent
aElement
- - Root DOM Element to decode EPPLaunchPhase
from.
EPPDecodeException
- Unable to decode aElementpublic org.w3c.dom.Element encode(org.w3c.dom.Document aDocument) throws EPPEncodeException
EPPLaunchPhase
instance.
encode
in interface EPPCodecComponent
aDocument
- - DOM Document that is being built. Used as an Element
factory.
EPPLaunchPhase
instance.
EPPEncodeException
- - Unable to encode EPPLaunchPhase
instance.public boolean equals(java.lang.Object aObject)
EPPLaunchPhase
compare.
equals
in class java.lang.Object
aObject
- EPPLaunchPhase
instance to compare with
true
if equal; false
otherwisepublic 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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |