EPP 0.2.5

com.neulevel.epp.core.response
Class EppResponseDataCheck

java.lang.Object
  |
  +--com.neulevel.epp.core.EppEntity
        |
        +--com.neulevel.epp.core.response.EppResponseData
              |
              +--com.neulevel.epp.core.response.EppResponseDataCheck
Direct Known Subclasses:
EppResponseDataCheckContact, EppResponseDataCheckDomain, EppResponseDataCheckHost, EppResponseDataCheckSvcsub

public abstract class EppResponseDataCheck
extends EppResponseData

This EppResponseDataCheck class implements EPP Response Data entity for EPP Command Check.

Version:
$Revision: 1.1 $ $Date: 2001/11/05 20:20:36 $
Author:
Ning Zhang ning.zhang@neustar.com

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

UNKNOWN

public static final java.lang.String UNKNOWN
Status for checking the existance of an object in the registry

FOUND

public static final java.lang.String FOUND
Status for checking the existance of an object in the registry

NOT_FOUND

public static final java.lang.String NOT_FOUND
Status for checking the existance of an object in the registry

hashMap

protected java.util.HashMap hashMap
A HashMap storing key and value pairs
Constructor Detail

EppResponseDataCheck

public EppResponseDataCheck()
Method Detail

getHashMap

public java.util.HashMap getHashMap()
Gets the HashMap associated with the result data of the check command

add

public 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
Parameters:
id - The Id associated with an EPP object, ROID for a contact object, domain name for a domain object, host name for a host object
flag - one of the FOUND, NOT_FOUND, UNKNWON, indicating if the object exists in the registry or not, or the existance is unknown

check

public java.lang.String check(java.lang.String id)
Checks if an object id is in the HashMap
Returns:
one of the FOUND, NOT_FOUND, UNKNWON

toXMLCommon

protected void toXMLCommon(org.w3c.dom.Document doc,
                           org.w3c.dom.Element body)
Converts shared EppResponseDataCheck component into XML elements
Parameters:
doc - the XML Document object
body - the XML Element to be attached

fromXMLCommon

protected void fromXMLCommon(org.w3c.dom.Node root)
Converts shared EppResponseDataCheck components from XML format.
Parameters:
root - root node for the list of shared components

EPP 0.2.5

Copyright © 2001-2002 NeuLevel, Inc. All Rights Reserved.