public class DomainCheckLaunchResponseExtension extends ResponseExtension
Representation of the EPP Domain Check response Extension with the Claims key Check aspect of the Domain Name Launch extension.
Use this to get claims key for domain name during Trademark Clearing House Claims Period as provided in an EPP Domain Check response. Such a service element is sent by a compliant EPP server in response to a valid Domain Check command with the Domain Name Launch extension.
For flexibility, this implementation extracts the data from the response using XPath queries, the expressions for which are defined statically.
CHK_DATA, CREATE, DATA, EXTENSION_EXPR, INFO, RENEW, TRANSFER, UPDATE
Constructor and Description |
---|
DomainCheckLaunchResponseExtension() |
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
exists(long index) |
java.lang.Boolean |
exists(java.lang.String domainName) |
void |
fromXML(XMLDocument xmlDoc)
Initialises the instance from the given XML document.
|
java.lang.String |
getClaimsKey(long index) |
java.lang.String |
getClaimsKey(java.lang.String domainName) |
java.lang.String |
getPhaseName() |
java.lang.String |
getPhaseType() |
boolean |
isInitialised()
Indicates whether fromXML() completed successfully and the extension was
successfully initialised from the EPP response.
|
replaceResponseType
public final void fromXML(XMLDocument xmlDoc) throws javax.xml.xpath.XPathExpressionException
ResponseExtension
fromXML
in class ResponseExtension
xmlDoc
- the XML to be processedjavax.xml.xpath.XPathExpressionException
public boolean isInitialised()
ResponseExtension
isInitialised
in class ResponseExtension
public final java.lang.Boolean exists(java.lang.String domainName)
domainName
- domain name to be checkedpublic final java.lang.Boolean exists(long index)
index
- the index of domain to be checkedpublic final java.lang.String getClaimsKey(java.lang.String domainName)
domainName
- domain name to be checkedpublic final java.lang.String getClaimsKey(long index)
index
- the index of domain to be checkedpublic java.lang.String getPhaseType()
public java.lang.String getPhaseName()