|
||||||||||
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.DomainSimpleRequest
public abstract class DomainSimpleRequest
request to retrieve information about a given domain
Field Summary | |
---|---|
private java.lang.String |
domainName
the domain name |
private java.lang.String |
encodedDomainName
the encoded domain name |
Constructor Summary | |
---|---|
DomainSimpleRequest()
constructor |
|
DomainSimpleRequest(java.lang.String theDomainName)
constructor |
|
DomainSimpleRequest(java.lang.String theDomainName,
java.lang.String theEncodedDomainName)
constructor |
Method Summary | |
---|---|
protected void |
addAttributes(XmlBuilder xb)
allow the addition of attributes to the request. |
java.lang.String |
getDomainName()
return the domain name |
java.lang.String |
getEncodedDomainName()
return the encoded domain name |
protected abstract java.lang.String |
getRequestElementName()
return the XML element name |
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 |
setDomainName(java.lang.String theDomainName)
set the domain name. |
void |
setDomainName(java.lang.String theDomainName,
java.lang.String theEncodedDomainName)
set the domain name |
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 |
---|
private java.lang.String domainName
private java.lang.String encodedDomainName
Constructor Detail |
---|
public DomainSimpleRequest()
public DomainSimpleRequest(java.lang.String theDomainName, java.lang.String theEncodedDomainName)
theDomainName
- the domain nametheEncodedDomainName
- the encoded domain name, may be null
for ASCII only domainspublic DomainSimpleRequest(java.lang.String theDomainName)
theDomainName
- the domain nameMethod Detail |
---|
protected abstract java.lang.String getRequestElementName()
protected void addAttributes(XmlBuilder xb) throws org.w3c.dom.DOMException, EncodeException
xb
- the XML builder
org.w3c.dom.DOMException
- on DOM exceptions
EncodeException
- if the encoding fails for some reasonprotected 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 java.lang.String getDomainName()
public java.lang.String getEncodedDomainName()
public void setDomainName(java.lang.String theDomainName)
theDomainName
- the domain namepublic void setDomainName(java.lang.String theDomainName, java.lang.String theEncodedDomainName)
theDomainName
- the domain nametheEncodedDomainName
- the encoded domain name, may be null
for ASCII only domains
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |