|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.knipp.rritoolkit.request.Request
de.knipp.rritoolkit.request.DomainDataRequest
public abstract class DomainDataRequest
base class for all domain request that require a DomainData instance for operation (create, update, chprov, chholder, delete)
Field Summary | |
---|---|
protected DomainData |
domain
the domain data instance |
Constructor Summary | |
---|---|
DomainDataRequest()
constructor |
|
DomainDataRequest(DomainData theDomain)
constructor |
Method Summary | |
---|---|
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 |
Methods inherited from class de.knipp.rritoolkit.request.Request |
---|
execute, getActionCode, getClientTxnID, getProtocolVersion, setClientTxnID, toList, toXml |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected DomainData domain
Constructor Detail |
---|
public DomainDataRequest()
public DomainDataRequest(DomainData theDomain)
theDomain
- the domainMethod Detail |
---|
protected 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 to
org.w3c.dom.DOMException
- on DOM exceptions
EncodeException
- if the encoding fails for some reasonprotected void requestToKVList(KVList list) throws EncodeException
requestToKVList
in class Request
list
- the list that has to be filled
EncodeException
- if the encoding fails for some reasonpublic java.lang.String toString()
toString
in class Request
public void setDomain(DomainData theDomain)
theDomain
- the domainpublic DomainData getDomain()
null
if it
hasn't been set yet
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |