public final class DomainInfoIdnResponseExtension extends ResponseExtension
Extension for the EPP Domain Info response, representing the IDN Info aspect of the Internationalized Domain Name extension.
Use this to access the language tag for an IDN as provided in an EPP Domain Info response compliant with RFC5730 and RFC5731. 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 |
|---|
DomainInfoIdnResponseExtension() |
| Modifier and Type | Method and Description |
|---|---|
void |
fromXML(XMLDocument xmlDoc)
Initialises the instance from the given XML document.
|
java.lang.String |
getLanguageTag() |
boolean |
isInitialised()
Indicates whether fromXML() completed successfully and the extension was
successfully initialised from the EPP response.
|
replaceResponseTypepublic void fromXML(XMLDocument xmlDoc) throws javax.xml.xpath.XPathExpressionException
ResponseExtensionfromXML in class ResponseExtensionxmlDoc - EPP Response XMLjavax.xml.xpath.XPathExpressionExceptionResponseExtension.fromXML(com.ausregistry.jtoolkit2.xml.XMLDocument)public java.lang.String getLanguageTag()
public boolean isInitialised()
ResponseExtensionisInitialised in class ResponseExtension