Class EPPLaunchClaimKey

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

public class EPPLaunchClaimKey extends Object implements EPPCodecComponent
The EPPLaunchClaimKey a claim key that MAY be passed to a third-party trademark validator such as the Trademark Clearinghouse (TMCH) for querying the information needed to generate a Trademark Claims Notice. The claim key is used as the key for the query in place of the domain name to securely query the service without using a well-known value like a domain name. The OPTIONAL "validatorID" attribute is the Validator Identifier whose value indicates which Trademark Validator to query for the Claims Notice information, with the default being the ICANN TMCH. The "validatorID" attribute MAY reference a non-trademark claims clearinghouse identifier to support other forms of claims notices.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
    Constant for the claim key local name
    static final String
    Constant for the claims check result tag
  • Constructor Summary

    Constructors
    Constructor
    Description
    Default constructor for EPPLaunchClaimKey.
    Create a EPPLaunchClaimKey with the required attribute of of claimKey.
    EPPLaunchClaimKey(String aClaimKey, String aValidatorId)
    Create a EPPLaunchClaimKey with the required attribute of claimKey, and the optional validatorId attribute.
  • Method Summary

    Modifier and Type
    Method
    Description
    Clone EPPLaunchClaimKey.
    void
    decode(Element aElement)
    Decode the EPPLaunchClaimKey attributes from the aElement DOM Element tree.
    encode(Document aDocument)
    Encode a DOM Element tree from the attributes of the EPPLaunchClaimKey instance.
    boolean
    equals(Object aObject)
    implements a deep EPPLaunchClaimKey compare.
    Gets the key that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.
    Returns the XML namespace associated with the EPPCodecComponent.
    Gets the OPTIONAL Validator Identifier, which is the unique identifier for the Trademark Validator to query for the Trademark Claims Notice information.
    boolean
    Is the Validator Identifier defined?
    void
    setClaimKey(String aClaimKey)
    Sets the key that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.
    void
    setValidatorId(String aValidatorId)
    Sets the OPTIONAL Validator Identifier, which is the unique identifier for the Trademark Validator to query for the Trademark Claims Notice information.
    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

  • Constructor Details

    • EPPLaunchClaimKey

      public EPPLaunchClaimKey()
      Default constructor for EPPLaunchClaimKey.
    • EPPLaunchClaimKey

      public EPPLaunchClaimKey(String aClaimKey)
      Create a EPPLaunchClaimKey with the required attribute of of claimKey.
      Parameters:
      aClaimKey - Key that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.
    • EPPLaunchClaimKey

      public EPPLaunchClaimKey(String aClaimKey, String aValidatorId)
      Create a EPPLaunchClaimKey with the required attribute of claimKey, and the optional validatorId attribute.
      Parameters:
      aClaimKey - Key that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.
      aValidatorId - Identifier of the Trademark Validator to query using the aClaimKey value.
  • Method Details

    • encode

      public Element encode(Document aDocument) throws EPPEncodeException
      Encode a DOM Element tree from the attributes of the EPPLaunchClaimKey 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 EPPLaunchClaimKey instance.
      Throws:
      EPPEncodeException - Unable to encode EPPLaunchClaimKey instance.
    • decode

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

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

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

      public String getClaimKey()
      Gets the key that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.
      Returns:
      Claim key if set; null otherwise.
    • setClaimKey

      public void setClaimKey(String aClaimKey)
      Sets the key that MAY be passed to an info service of a third party trademark provider like the Trademark Clearinghouse (TMCH) for getting the information needed to generate the trademark claims notice.
      Parameters:
      aClaimKey - Claim key
    • getValidatorId

      public String getValidatorId()
      Gets the OPTIONAL Validator Identifier, which is the unique identifier for the Trademark Validator to query for the Trademark Claims Notice information. If undefined, the ICANN TMCH is the Validator or if the value is "tmch".
      Returns:
      The Validator Identifier if defined; null otherwise to indicate to use the ICANN TMCH.
    • setValidatorId

      public void setValidatorId(String aValidatorId)
      Sets the OPTIONAL Validator Identifier, which is the unique identifier for the Trademark Validator to query for the Trademark Claims Notice information. A null value or a value of "tmch" can be specified to indicate the use of the ICANN TMCH.
      Parameters:
      aValidatorId - Validator Identifier, where null or a value of "tmch" can be specified to indicate the use of the ICANN TMCH.
    • hasValidatorId

      public boolean hasValidatorId()
      Is the Validator Identifier defined?
      Returns:
      true if the Validator Identifier is defined; 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.