public abstract class DomainDataRequest extends Request
DomainData
instance
for operation (create, update, chprov, chholder, delete)Modifier and Type | Field and Description |
---|---|
protected DomainData |
domain
the domain data instance
|
Constructor and Description |
---|
DomainDataRequest()
constructor
|
DomainDataRequest(DomainData theDomain)
constructor
|
Modifier and Type | Method and Description |
---|---|
DomainData |
getDomain()
return the domain
|
protected abstract java.lang.String |
getRequestElementName()
return the XML element name
|
protected boolean |
includeDnsData()
return whether DNS data shall be supplied or not.
|
protected void |
requestToKVList(KVList list)
method that needs to be implemented by subclasses for the
key-value list conversion
|
protected void |
requestToXml(org.w3c.dom.Node node)
method that needs to be implemented by subclasses for the XML conversion
|
void |
setDomain(DomainData theDomain)
set the domain data
|
java.lang.String |
toString()
return a string representation for debugging purposes
|
execute, getActionCode, getClientTxnID, getProtocolVersion, setClientTxnID, toList, toXml
protected DomainData domain
public DomainDataRequest()
public DomainDataRequest(DomainData theDomain)
theDomain
- the domainprotected boolean includeDnsData()
true
true
if the data shall be suppliedprotected abstract java.lang.String getRequestElementName()
protected void requestToXml(org.w3c.dom.Node node) throws org.w3c.dom.DOMException, EncodeException
requestToXml
in class Request
node
- the node where the request shall be added toorg.w3c.dom.DOMException
- on DOM exceptionsEncodeException
- if the encoding fails for some reasonprotected void requestToKVList(KVList list) throws EncodeException
requestToKVList
in class Request
list
- the list that has to be filledEncodeException
- if the encoding fails for some reasonpublic java.lang.String toString()
public void setDomain(DomainData theDomain)
theDomain
- the domainpublic DomainData getDomain()
null
if it
hasn't been set yetCopyright © 2005-2013 Knipp Medien und Kommunikation GmbH