|
EPP 0.2.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.neulevel.epp.core.EppEntity | +--com.neulevel.epp.core.response.EppResponse
This EppResponse
class implements EPP Response entity.
Constructor Summary | |
EppResponse()
|
Method Summary | |
void |
addResult(EppResult result)
Adds a result object |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppResponse object. |
int |
getMessageQueued()
Gets number of messages queued |
java.util.Calendar |
getMessageQueueUpdated()
Gets the timestamp of the message queue updated by the server |
EppResponseData |
getResponseData()
Gets response data |
java.util.Vector |
getResult()
Gets result |
EppTransactionId |
getTransactionId()
Gets transaction id from the registrar client |
EppUnspec |
getUnspec()
Gets optional unspecified object |
void |
setMessageQueued(int number)
Sets number of messages queued |
void |
setMessageQueueUpdated(java.util.Calendar cal)
Sets the timestamp of the message queue updated by the server |
void |
setResponseData(EppResponseData data)
Sets response data |
void |
setTransactionId(EppTransactionId xid)
Sets transaction id |
void |
setUnspec(EppUnspec unspec)
Sets optional unspecified object |
boolean |
success()
Checks if the EPP Response is for a completed operation without any error |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppResponse object into an XML element |
Methods inherited from class com.neulevel.epp.core.EppEntity |
toString |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public EppResponse()
Method Detail |
public java.util.Vector getResult()
public void addResult(EppResult result)
public int getMessageQueued()
public void setMessageQueued(int number)
public java.util.Calendar getMessageQueueUpdated()
public void setMessageQueueUpdated(java.util.Calendar cal)
public EppResponseData getResponseData()
public void setResponseData(EppResponseData data)
public EppUnspec getUnspec()
public void setUnspec(EppUnspec unspec)
public EppTransactionId getTransactionId()
public void setTransactionId(EppTransactionId xid)
public boolean success()
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppResponse
object into an XML elementdoc
- the XML Document
objecttag
- the tag/element name for the EppResponse
objectElement
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppResponse
object. The
caller of this method must make sure that the root node is of the EPP
responseType.root
- root node for an EppResponse
object in XML
formatEppResponse
object, or null if the node is
invalidpublic java.lang.String toString()
|
EPP 0.2.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |