Package com.verisign.epp.codec.registry
Class EPPRegistryPhase
java.lang.Object
com.verisign.epp.codec.registry.EPPRegistryPhase
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringConstant for the phase local namestatic final StringConstant for the phase qualified name (prefix and local name)static final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringTrademark claims phase as defined by Trademark Clearinghouse model of displaying a claims notice to clients for domain names that match trademarks.static final StringA custom server launch phase that is defined using the name attribute.static final StringPost sunrise phase when non-trademark holders are allowed to register domain names.static final StringPost launch phase that is also referred to as "steady state".static final StringPhase when pre-delegation testing is done.static final StringA phase prior to the sunrise where no writable operations will be allowed.static final StringPhase when trademark holders can submit registration applications with trademark information that can be validated by the server.static Liststatic List -
Constructor Summary
ConstructorsConstructorDescriptionEPPRegistryPhase(String type, String name, String mode, Date startDate) EPPRegistryPhase(String type, String name, Date startDate) EPPRegistryPhase(String type, String name, Date startDate, Date endDate) EPPRegistryPhase(String type, Date startDate) EPPRegistryPhase(String type, Date startDate, Date endDate) -
Method Summary
Modifier and TypeMethodDescriptionclone()clone anEPPCodecComponent.voiddecode a DOM element tree to initialize the instance attributes.encode instance into a DOM element tree.booleangetMode()getName()Returns the XML namespace associated with theEPPCodecComponent.getType()voidsetEndDate(Date endDate) voidvoidvoidsetStartDate(Date startDate) voidtoString()
-
Field Details
-
ELM_LOCALNAME
Constant for the phase local name- See Also:
-
ELM_NAME
Constant for the phase qualified name (prefix and local name)- See Also:
-
ELM_START_DATE
- See Also:
-
ELM_END_DATE
- See Also:
-
ATTR_TYPE
- See Also:
-
ATTR_NAME
- See Also:
-
ATTR_MODE
- See Also:
-
PHASE_PRE_DELEGATION
Phase when pre-delegation testing is done.- See Also:
-
PHASE_PRE_LAUNCH
A phase prior to the sunrise where no writable operations will be allowed.- See Also:
-
PHASE_SUNRISE
Phase when trademark holders can submit registration applications with trademark information that can be validated by the server.- See Also:
-
PHASE_LANDRUSH
Post sunrise phase when non-trademark holders are allowed to register domain names.- See Also:
-
PHASE_CLAIMS
Trademark claims phase 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".- See Also:
-
PHASE_CUSTOM
A custom server launch phase that is defined using the name attribute.- See Also:
-
MODE_FCFS
- See Also:
-
MODE_PENDING_REGISTRATION
- See Also:
-
MODE_PENDING_APPLICATION
- See Also:
-
VALID_PHASES
-
VALID_MODES
-
-
Constructor Details
-
EPPRegistryPhase
public EPPRegistryPhase() -
EPPRegistryPhase
-
EPPRegistryPhase
-
EPPRegistryPhase
-
EPPRegistryPhase
-
EPPRegistryPhase
-
EPPRegistryPhase
-
-
Method Details
-
encode
Description copied from interface:EPPCodecComponentencode instance into a DOM element tree. A DOM Document is passed as an argument and functions as a factory for DOM objects. The root element associated with the instance is created and each instance attribute is appended as a child node.
For example, the <command> element ofEPPCommandis created and is used to append the attribute nodes ofEPPCommand.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM document used as a factory of DOM objects.- Returns:
- instance root DOM element along with attribute child nodes.
- Throws:
EPPEncodeException- Error encoding the DOM element tree.
-
decode
Description copied from interface:EPPCodecComponentdecode a DOM element tree to initialize the instance attributes. TheaElementargument represents the root DOM element and is used to traverse the DOM nodes for instance attribute values.
For example, the <command> element ofEPPCommandis passed intodecodeof EPPCommand to be decoded and used to set the instance attributes.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- root DOM element associated with instance- Throws:
EPPDecodeException- Error decoding the DOM element tree.
-
clone
Description copied from interface:EPPCodecComponentclone anEPPCodecComponent.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of concrete
EPPCodecComponent - Throws:
CloneNotSupportedException- standard Object.clone exception
-
equals
-
toString
-
getType
-
getName
-
setName
-
setType
-
getStartDate
-
setStartDate
-
getEndDate
-
setEndDate
-
getMode
-
setMode
-
getNamespace
Returns the XML namespace associated with theEPPCodecComponent.- Specified by:
getNamespacein interfaceEPPCodecComponent- Returns:
- XML namespace for the
EPPCodecComponent.
-