Class EPPLaunchPhase

java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchPhase
All Implemented Interfaces:
EPPCodecComponent, Serializable, Cloneable

public class EPPLaunchPhase extends Object implements EPPCodecComponent
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    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 final String
    Constant for the phase local name
    static final String
    Constant for the phase qualified name (prefix and local name)
    static final String
    Trademark claims phase 1 as defined by Trademark Clearinghouse model of displaying a claims notice to clients for domain names that match trademarks.
    static final String
    Post launch phase that is also referred to as "steady state".
    static final String
    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 final String
    Post launch phase that is also referred to as "steady state".
    static final String
    Phase when trademark holders can submit registrations or applications with trademark information that can be validated by.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor.
    Create EPPLaunchPhase instance with a defined phase value.
    EPPLaunchPhase(String aPhase, String aName)
    Create EPPLaunchPhase instance with a defined phase value and with the phase name value.
  • Method Summary

    Modifier and Type
    Method
    Description
    Clone EPPLaunchPhase.
    void
    decode(Element aElement)
    Decode the EPPLaunchPhase element aElement DOM Element tree.
    encode(Document aDocument)
    Encode a DOM Element tree from the attributes of the EPPLaunchPhase instance.
    boolean
    equals(Object aObject)
    implements a deep EPPLaunchPhase compare.
    Gets the OPTIONAL phase name or sub-phase name.
    Returns the XML namespace associated with the EPPCodecComponent.
    Gets the phase value, which should match one of the PHASE constants.
    void
    setName(String aName)
    Sets the OPTIONAL phase name or sub-phase name.
    void
    setPhase(String aPhase)
    Sets the phase value.
    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 Details

    • PHASE_SUNRISE

      public static final String PHASE_SUNRISE
      Phase when trademark holders can submit registrations or applications with trademark information that can be validated by.
      See Also:
    • PHASE_LANDRUSH

      public static final 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.
      See Also:
    • PHASE_CLAIMS

      public static final 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.
      See Also:
    • PHASE_OPEN

      public static final String 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

      public static final String 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

      public static final String ELM_LOCALNAME
      Constant for the phase local name
      See Also:
    • ELM_NAME

      public static final String ELM_NAME
      Constant for the phase qualified name (prefix and local name)
      See Also:
    • ATTR_NAME

      public static final 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.
      See Also:
  • Constructor Details

    • EPPLaunchPhase

      public EPPLaunchPhase()
      Default constructor. The phase value MUST be set using the setPhase(String) method.
    • EPPLaunchPhase

      public EPPLaunchPhase(String aPhase)
      Create EPPLaunchPhase instance with a defined phase value.
      Parameters:
      aPhase - Phase value using one of the PHASE constants.
    • EPPLaunchPhase

      public EPPLaunchPhase(String aPhase, String aName)
      Create EPPLaunchPhase instance with a defined phase value and with the phase name value.
      Parameters:
      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 Details

    • getPhase

      public String getPhase()
      Gets the phase value, which should match one of the PHASE constants.
      Returns:
      Phase value
    • setPhase

      public void setPhase(String aPhase)
      Sets the phase value.
      Parameters:
      aPhase - Phase value, which should be one of the PHASE constants.
    • getName

      public String getName()
      Gets the OPTIONAL phase name or sub-phase name.
      Returns:
      The phase name or sub-phase name if defined; null otherwise.
    • setName

      public void setName(String aName)
      Sets the OPTIONAL phase name or sub-phase name.
      Parameters:
      aName - Phase name
    • clone

      public Object clone() throws CloneNotSupportedException
      Clone EPPLaunchPhase.
      Specified by:
      clone in interface EPPCodecComponent
      Overrides:
      clone in class Object
      Returns:
      clone of EPPLaunchPhase
      Throws:
      CloneNotSupportedException - standard Object.clone exception
    • decode

      public void decode(Element aElement) throws EPPDecodeException
      Decode the EPPLaunchPhase element aElement DOM Element tree.
      Specified by:
      decode in interface EPPCodecComponent
      Parameters:
      aElement - - Root DOM Element to decode EPPLaunchPhase from.
      Throws:
      EPPDecodeException - Unable to decode aElement
    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Encode a DOM Element tree from the attributes of the EPPLaunchPhase instance.
      Specified by:
      encode in interface EPPCodecComponent
      Parameters:
      aDocument - - DOM Document that is being built. Used as an Element factory.
      Returns:
      Element - Root DOM Element representing the EPPLaunchPhase instance.
      Throws:
      EPPEncodeException - - Unable to encode EPPLaunchPhase instance.
    • equals

      public boolean equals(Object aObject)
      implements a deep EPPLaunchPhase compare.
      Overrides:
      equals in class Object
      Parameters:
      aObject - EPPLaunchPhase instance to compare with
      Returns:
      true if equal; false otherwise
    • toString

      public String toString()
      Implementation of Object.toString, which will result in an indented XML String representation of the concrete EPPCodecComponent.
      Overrides:
      toString in class Object
      Returns:
      Indented XML String if successful; ERROR otherwise.
    • getNamespace

      public String getNamespace()
      Returns the XML namespace associated with the EPPCodecComponent.
      Specified by:
      getNamespace in interface EPPCodecComponent
      Returns:
      XML namespace for the EPPCodecComponent.