public final class DomainInfoRgpResponseExtension extends ResponseExtension
Extension for the EPP Domain Info response, representing the RGP Info aspect of the Registry Grace Period extension.
Use this to access the registry grace period statuses for a domain as provided in an EPP Domain Info response compliant with RFC5730, RFC5731 and RFC3915. Such a service element is sent by a compliant EPP server in response to a valid Domain Info command.
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 |
---|
DomainInfoRgpResponseExtension(java.lang.String responseExtension) |
Modifier and Type | Method and Description |
---|---|
void |
fromXML(XMLDocument xmlDoc)
Initialises the instance from the given XML document.
|
java.util.List<RgpStatus> |
getRgpStatuses() |
boolean |
isInitialised()
Indicates whether fromXML() completed successfully and the extension was
successfully initialised from the EPP response.
|
replaceResponseType
public DomainInfoRgpResponseExtension(java.lang.String responseExtension)
public void fromXML(XMLDocument xmlDoc) throws javax.xml.xpath.XPathExpressionException
ResponseExtension
fromXML
in class ResponseExtension
xmlDoc
- EPP Response XMLjavax.xml.xpath.XPathExpressionException
ResponseExtension.fromXML(com.ausregistry.jtoolkit2.xml.XMLDocument)
public java.util.List<RgpStatus> getRgpStatuses()
public boolean isInitialised()
ResponseExtension
isInitialised
in class ResponseExtension