|
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.EppResponseData
com.neulevel.epp.core.response.EppResponseDataCheck
This EppResponseDataCheck
class implements EPP Response
Data entity for EPP Command Check.
Field Summary | |
static java.lang.String |
FOUND
Status for checking the existance of an object in the registry |
protected java.util.HashMap |
hashMap
A HashMap storing key and value pairs |
static java.lang.String |
NOT_FOUND
Status for checking the existance of an object in the registry |
static java.lang.String |
UNKNOWN
Status for checking the existance of an object in the registry |
Constructor Summary | |
EppResponseDataCheck()
|
Method Summary | |
void |
add(java.lang.String id,
java.lang.String flag)
Adds an entry into the HashMap for indicating if the
object exists in the registry or not |
java.lang.String |
check(java.lang.String id)
Checks if an object id is in the HashMap |
protected void |
fromXMLCommon(org.w3c.dom.Node root)
Converts shared EppResponseDataCheck components from
XML format. |
java.util.HashMap |
getHashMap()
Gets the HashMap associated with the result data of
the check command |
protected void |
toXMLCommon(org.w3c.dom.Document doc,
org.w3c.dom.Element body)
Converts shared EppResponseDataCheck component into
XML elements |
Methods inherited from class com.neulevel.epp.core.response.EppResponseData |
fromXML, toString |
Methods inherited from class com.neulevel.epp.core.EppEntity |
toString, toXML |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final java.lang.String UNKNOWN
public static final java.lang.String FOUND
public static final java.lang.String NOT_FOUND
protected java.util.HashMap hashMap
HashMap
storing key and value pairs
Constructor Detail |
public EppResponseDataCheck()
Method Detail |
public java.util.HashMap getHashMap()
HashMap
associated with the result data of
the check command
public void add(java.lang.String id, java.lang.String flag)
HashMap
for indicating if the
object exists in the registry or not
id
- The Id associated with an EPP object, ROID for a contact
object, domain name for a domain object, host name for
a host objectflag
- one of the FOUND
, NOT_FOUND
,
UNKNWON
, indicating if the object exists in
the registry or not, or the existance is unknownpublic java.lang.String check(java.lang.String id)
HashMap
FOUND
, NOT_FOUND
,
UNKNWON
protected void toXMLCommon(org.w3c.dom.Document doc, org.w3c.dom.Element body)
EppResponseDataCheck
component into
XML elements
doc
- the XML Document
objectbody
- the XML Element
to be attachedprotected void fromXMLCommon(org.w3c.dom.Node root)
EppResponseDataCheck
components from
XML format.
root
- root node for the list of shared components
|
EPP 0.2.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |