|
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.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
objectpublic EppResult(int code)
EppResult
objectcode
- result codepublic EppResult(int code, java.lang.String message)
EppResult
objectcode
- result codemessage
- message to be returnedpublic EppResult(int code, java.lang.String message, java.lang.String value)
EppResult
objectcode
- result codemessage
- message to be returnedvalue
- value to be returnedMethod 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 elementdoc
- the XML Document
objecttag
- the tag/element name for the EppResult
objectElement
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 formatEppResult
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 |