|
EPP 0.2.3 | ||||||||
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.EppStatus
This EppStatus
class implements EPP Status entity. Different EPP
objects have different status values:
Constructor Summary | |
EppStatus()
Creates an EppStatus object, with default status
as "ok" and language as "en" |
|
EppStatus(java.lang.String status)
Creates an EppStatus object with a status code |
|
EppStatus(java.lang.String status,
java.lang.String lang,
java.lang.String message)
Creates an EppStatus object with a status code,
and a descriptive message |
Method Summary | |
static EppEntity |
fromXML(org.w3c.dom.Node root)
Converts an XML element into an EppStatus object. |
java.lang.String |
getLanguage()
Gets the language for encoding the description message |
java.lang.String |
getMessage()
Gets the description message associated with the EppStatus object |
java.lang.String |
getStatus()
Gets the status code string |
void |
setLanguage(java.lang.String language)
Sets the language for encoding the description message |
void |
setMessage(java.lang.String message)
Sets the description message associated with the EppStatus object |
void |
setStatus(java.lang.String status)
Sets the status code string |
java.lang.String |
toString()
|
org.w3c.dom.Element |
toXML(org.w3c.dom.Document doc,
java.lang.String tag)
Converts the EppStatus 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 EppStatus()
EppStatus
object, with default status
as "ok" and language as "en"public EppStatus(java.lang.String status)
EppStatus
object with a status codepublic EppStatus(java.lang.String status, java.lang.String lang, java.lang.String message)
EppStatus
object with a status code,
and a descriptive messageMethod Detail |
public java.lang.String getMessage()
EppStatus
objectpublic void setMessage(java.lang.String message)
EppStatus
objectpublic java.lang.String getStatus()
public void setStatus(java.lang.String status)
public java.lang.String getLanguage()
public void setLanguage(java.lang.String language)
public org.w3c.dom.Element toXML(org.w3c.dom.Document doc, java.lang.String tag)
EppStatus
object into an XML elementdoc
- the XML Document
objecttag
- the tag/element name for the EppStatus
objectElement
objectpublic static EppEntity fromXML(org.w3c.dom.Node root)
EppStatus
object.
The caller of this method must make sure that the root node is of
the EPP Status type.root
- root node for an EppStatus
object
in XML formatEppStatus
object, or null if the node
is invalidpublic java.lang.String toString()
|
EPP 0.2.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |