Package com.verisign.epp.codec.launch
Class EPPLaunchPhase
java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchPhase
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringOPTIONAL 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 final StringConstant for the phase local namestatic final StringConstant for the phase qualified name (prefix and local name)static final StringTrademark claims phase 1 as defined by Trademark Clearinghouse model of displaying a claims notice to clients for domain names that match trademarks.static final StringPost launch phase that is also referred to as "steady state".static final StringPost sunrise phase when non-trademark holders are allowed to register domain names with steps taken to address a large volume of initial registrations.static final StringPost launch phase that is also referred to as "steady state".static final StringPhase when trademark holders can submit registrations or applications with trademark information that can be validated by. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.EPPLaunchPhase(String aPhase) CreateEPPLaunchPhaseinstance with a defined phase value.EPPLaunchPhase(String aPhase, String aName) CreateEPPLaunchPhaseinstance with a defined phase value and with the phase name value. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPLaunchPhase.voidDecode theEPPLaunchPhaseelement aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPLaunchPhaseinstance.booleanimplements a deepEPPLaunchPhasecompare.getName()Gets the OPTIONAL phase name or sub-phase name.Returns the XML namespace associated with theEPPCodecComponent.getPhase()Gets the phase value, which should match one of thePHASEconstants.voidSets the OPTIONAL phase name or sub-phase name.voidSets the phase value.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
PHASE_SUNRISE
Phase when trademark holders can submit registrations or applications with trademark information that can be validated by.- See Also:
-
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.- See Also:
-
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.- See Also:
-
PHASE_OPEN
Post launch phase that is also referred to as "steady state". Servers MAY require additional trademark protection with this phase.- See Also:
-
PHASE_CUSTOM
Post launch phase that is also referred to as "steady state". Servers MAY require additional trademark protection with this phase.- See Also:
-
ELM_LOCALNAME
Constant for the phase local name- See Also:
-
ELM_NAME
Constant for the phase qualified name (prefix and local name)- See Also:
-
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.- See Also:
-
-
Constructor Details
-
EPPLaunchPhase
public EPPLaunchPhase()Default constructor. The phase value MUST be set using thesetPhase(String)method. -
EPPLaunchPhase
CreateEPPLaunchPhaseinstance with a defined phase value.- Parameters:
aPhase- Phase value using one of thePHASEconstants.
-
EPPLaunchPhase
CreateEPPLaunchPhaseinstance with a defined phase value and with the phase name value.- Parameters:
aPhase- Phase value using one of thePHASEconstants.aName- Name of sub-phase or full name of phase whenaPhaseis set toPHASE_CUSTOM.
-
-
Method Details
-
getPhase
Gets the phase value, which should match one of thePHASEconstants.- Returns:
- Phase value
-
setPhase
Sets the phase value.- Parameters:
aPhase- Phase value, which should be one of thePHASEconstants.
-
getName
Gets the OPTIONAL phase name or sub-phase name.- Returns:
- The phase name or sub-phase name if defined;
nullotherwise.
-
setName
Sets the OPTIONAL phase name or sub-phase name.- Parameters:
aName- Phase name
-
clone
CloneEPPLaunchPhase.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPLaunchPhase - Throws:
CloneNotSupportedException- standard Object.clone exception
-
decode
Decode theEPPLaunchPhaseelement aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- - Root DOM Element to decodeEPPLaunchPhasefrom.- Throws:
EPPDecodeException- Unable to decode aElement
-
encode
Encode a DOM Element tree from the attributes of theEPPLaunchPhaseinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- - DOM Document that is being built. Used as an Element factory.- Returns:
- Element - Root DOM Element representing the
EPPLaunchPhaseinstance. - Throws:
EPPEncodeException- - Unable to encodeEPPLaunchPhaseinstance.
-
equals
implements a deepEPPLaunchPhasecompare. -
toString
Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent. -
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-