Package com.verisign.epp.codec.launch
Class EPPLaunchClaimKey
java.lang.Object
com.verisign.epp.codec.launch.EPPLaunchClaimKey
- All Implemented Interfaces:
EPPCodecComponent,Serializable,Cloneable
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 -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor forEPPLaunchClaimKey.EPPLaunchClaimKey(String aClaimKey) Create aEPPLaunchClaimKeywith the required attribute of ofclaimKey.EPPLaunchClaimKey(String aClaimKey, String aValidatorId) Create aEPPLaunchClaimKeywith the required attribute ofclaimKey, and the optionalvalidatorIdattribute. -
Method Summary
Modifier and TypeMethodDescriptionclone()CloneEPPLaunchClaimKey.voidDecode theEPPLaunchClaimKeyattributes from the aElement DOM Element tree.Encode a DOM Element tree from the attributes of theEPPLaunchClaimKeyinstance.booleanimplements a deepEPPLaunchClaimKeycompare.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 theEPPCodecComponent.Gets the OPTIONAL Validator Identifier, which is the unique identifier for the Trademark Validator to query for the Trademark Claims Notice information.booleanIs the Validator Identifier defined?voidsetClaimKey(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.voidsetValidatorId(String aValidatorId) Sets the OPTIONAL Validator Identifier, which is the unique identifier for the Trademark Validator to query for the Trademark Claims Notice information.toString()Implementation ofObject.toString, which will result in an indented XMLStringrepresentation of the concreteEPPCodecComponent.
-
Field Details
-
ELM_LOCALNAME
Constant for the claim key local name- See Also:
-
ELM_NAME
Constant for the claims check result tag- See Also:
-
-
Constructor Details
-
EPPLaunchClaimKey
public EPPLaunchClaimKey()Default constructor forEPPLaunchClaimKey. -
EPPLaunchClaimKey
Create aEPPLaunchClaimKeywith the required attribute of ofclaimKey.- 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
Create aEPPLaunchClaimKeywith the required attribute ofclaimKey, and the optionalvalidatorIdattribute.- 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 theaClaimKeyvalue.
-
-
Method Details
-
encode
Encode a DOM Element tree from the attributes of theEPPLaunchClaimKeyinstance.- Specified by:
encodein interfaceEPPCodecComponent- Parameters:
aDocument- DOM Document that is being built. Used as an Element factory.- Returns:
- Element Root DOM Element representing the
EPPLaunchClaimKeyinstance. - Throws:
EPPEncodeException- Unable to encodeEPPLaunchClaimKeyinstance.
-
decode
Decode theEPPLaunchClaimKeyattributes from the aElement DOM Element tree.- Specified by:
decodein interfaceEPPCodecComponent- Parameters:
aElement- Root DOM Element to decodeEPPLaunchClaimKeyfrom.- Throws:
EPPDecodeException- Unable to decode aElement.
-
equals
implements a deepEPPLaunchClaimKeycompare. -
clone
CloneEPPLaunchClaimKey.- Specified by:
clonein interfaceEPPCodecComponent- Overrides:
clonein classObject- Returns:
- clone of
EPPLaunchClaimKey - Throws:
CloneNotSupportedException- standard Object.clone exception
-
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;
nullotherwise.
-
setClaimKey
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
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;
nullotherwise to indicate to use the ICANN TMCH.
-
setValidatorId
Sets the OPTIONAL Validator Identifier, which is the unique identifier for the Trademark Validator to query for the Trademark Claims Notice information. Anullvalue or a value of "tmch" can be specified to indicate the use of the ICANN TMCH.- Parameters:
aValidatorId- Validator Identifier, wherenullor 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:
trueif the Validator Identifier is defined;falseotherwise.
-
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.
-