class EppResponseDataCheck

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

Inheritance:


Public Fields

[more]static const char* UNKNOWN
Status for checking the existance of an object in the registry
[more]static const char* FOUND
Status for checking the existance of an object in the registry
[more]static const char* NOT_FOUND
Status for checking the existance of an object in the registry

Public Methods

[more] EppResponseDataCheck()
Constructor
[more]virtual ~EppResponseDataCheck()
Destructor
[more]virtual int getEntityType()
Returns the run-time type of an EppEntity object
[more]ValueVectorOf<KeyValuePair<DOMString, DOMString> > * getHashMap()
Gets the check result list associated with the result data of the check command
[more]void add( DOMString id, DOMString flag )
Adds an entry into the HashMap for indicating if the object exists in the registry or not
[more]DOMString check( DOMString id )
Checks if an object id is in the HashMap

Protected Fields

[more]ValueVectorOf<KeyValuePair<DOMString, DOMString> > * hashMap
A vector for storing key and value pairs

Protected Methods

[more]void toXMLCommon( DOM_Document& doc, DOM_Element& body )
Converts shared EppResponseDataCheck component into XML elements
[more]void fromXMLCommon( const DOM_Node& root )
Converts shared EppResponseDataCheck components from XML format.


Inherited from EppResponseData:

Public Methods

ostatic EppResponseData* fromXML( const DOM_Node& root )


Inherited from EppEntity:

Public Methods

obool instanceOf( const int type )
ovirtual DOM_Element toXML( DOM_Document &doc, const DOMString &tag )
ovirtual DOMString toString()

Protected Methods

oDOMString toString( const DOMString &tag )


Documentation

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

oValueVectorOf<KeyValuePair<DOMString, DOMString> > * hashMap
A vector for storing key and value pairs

ovoid toXMLCommon( DOM_Document& doc, DOM_Element& body )
Converts shared EppResponseDataCheck component into XML elements

Parameters:
doc - the XML DOM_Element object
body - the XML DOM_Element to be attached

ovoid fromXMLCommon( const DOM_Node& root )
Converts shared EppResponseDataCheck components from XML format.

Parameters:
root - root node for the list of shared components

ostatic const char* UNKNOWN
Status for checking the existance of an object in the registry

ostatic const char* FOUND
Status for checking the existance of an object in the registry

ostatic const char* NOT_FOUND
Status for checking the existance of an object in the registry

o EppResponseDataCheck()
Constructor

ovirtual ~EppResponseDataCheck()
Destructor

ovirtual int getEntityType()
Returns the run-time type of an EppEntity object

oValueVectorOf<KeyValuePair<DOMString, DOMString> > * getHashMap()
Gets the check result list associated with the result data of the check command


Note: this method is different from the Java API in which as a hash table is returned instead of a vector.

ovoid add( DOMString id, DOMString 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

oDOMString check( DOMString id )
Checks if an object id is in the HashMap

Returns:
one of the FOUND, NOT_FOUND, UNKNWON


Direct child classes:
EppResponseDataCheckHost
EppResponseDataCheckDomain
EppResponseDataCheckContact
Author:
Ning Zhang ning.zhang@neustar.com
Version:
$Revision$ $Date$

Alphabetic index HTML hierarchy of classes or Java


Copyright © 2001 NeuStar, Inc. All Rights Reserved.