|
EPP 0.2.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.neulevel.epp.core.EppEntity
com.neulevel.epp.core.response.EppResult
This EppResult class implements EPP Result entity.
| Constructor Summary | |
EppResult()
Creates an EppResult object |
|
EppResult(int code)
Creates an EppResult object |
|
EppResult(int code,
java.lang.String message)
Creates an EppResult object |
|
EppResult(int code,
java.lang.String message,
java.lang.String value)
Creates an EppResult object |
|
| Method Summary | |
void |
addValue(java.lang.String value)
Adds values to be returned |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppResult object. |
int |
getCode()
Gets result code |
EppResultMessage |
getMessage()
Gets message to be returned |
java.util.Vector |
getValue()
Gets values to be returned |
void |
setCode(int code)
Sets result code |
void |
setMessage(EppResultMessage message)
Sets message to be returned |
void |
setMessage(java.lang.String message)
Sets message to be returned |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppResult 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 EppResult()
EppResult object
public EppResult(int code)
EppResult object
code - result code
public EppResult(int code,
java.lang.String message)
EppResult object
code - result codemessage - message to be returned
public EppResult(int code,
java.lang.String message,
java.lang.String value)
EppResult object
code - result codemessage - message to be returnedvalue - value to be returned| Method Detail |
public int getCode()
public void setCode(int code)
public EppResultMessage getMessage()
public void setMessage(java.lang.String message)
public void setMessage(EppResultMessage message)
public java.util.Vector getValue()
public void addValue(java.lang.String value)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc,
java.lang.String tag)
EppResult object into an XML element
toXML in class EppEntitydoc - the XML Document objecttag - the tag/element name for the EppResult object
Element objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppResult object. The
caller of this method must make sure that the root node is of the EPP
responseType.
root - root node for an EppResult object in XML format
EppResult object, or null if the node is invalidpublic java.lang.String toString()
toString in class EppEntity
|
EPP 0.2.6 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||