public final class DomainInfoKVResponseExtension extends ResponseExtension
CHK_DATA, CREATE, DATA, EXTENSION_EXPR, INFO, RENEW, TRANSFER, UPDATE
Constructor and Description |
---|
DomainInfoKVResponseExtension() |
Modifier and Type | Method and Description |
---|---|
void |
fromXML(XMLDocument xmlDoc)
Initialises the instance from the given XML document.
|
java.lang.String |
getItem(java.lang.String listName,
java.lang.String key)
Retrieves the value of a given key-value item.
|
java.util.Set<java.lang.String> |
getListItems(java.lang.String listName)
Retrieves the names of all item keys, for a specified key-value list
name.
|
java.util.Set<java.lang.String> |
getLists()
Retrieves the names of all key-value lists that have been added to the
object.
|
boolean |
isInitialised()
Indicates whether fromXML() completed successfully and the extension was
successfully initialised from the EPP response.
|
replaceResponseType
public java.util.Set<java.lang.String> getLists()
public java.util.Set<java.lang.String> getListItems(java.lang.String listName)
listName
- the name of the key-value listpublic java.lang.String getItem(java.lang.String listName, java.lang.String key)
listName
- the name of the key-value listkey
- the key of the itempublic void fromXML(XMLDocument xmlDoc) throws javax.xml.xpath.XPathExpressionException
ResponseExtension
fromXML
in class ResponseExtension
xmlDoc
- EPP Response XMLjavax.xml.xpath.XPathExpressionException
public boolean isInitialised()
ResponseExtension
isInitialised
in class ResponseExtension