class EppAuthInfo

This EppAuthInfo class implements EPP AuthInfo entity.

Inheritance:


Public Fields

[more]static const char* TYPE_PW
Authorization type "pw" for password

Public Methods

[more] EppAuthInfo()
Creates an EppAuthInfo object
[more] EppAuthInfo( DOMString type, DOMString value )
Creates an EppAuthInfo object
[more] EppAuthInfo( DOMString type, DOMString value, DOMString roid )
Creates an EppAuthInfo object with a ROID.
[more] ~EppAuthInfo()
Destructor
[more]DOMString getValue()
Gets the value associated with the authorization information
[more]void setValue( DOMString value )
Gets the value associated with the authorization information
[more]DOMString getRoid()
Gets the ROID of the authorization information
[more]void setRoid( DOMString roid )
Sets the ROID of the authorization information
[more]DOMString getType()
Gets the type of the authorization information
[more]void setType( DOMString type )
Sets the type of the authorization information
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppAuthInfo object into an XML element
[more]static EppAuthInfo* fromXML( const DOM_Node& root )
Converts an XML element into an EppAuthInfo object.


Inherited from EppEntity:

Public Methods

ovirtual int getEntityType()
obool instanceOf( const int type )
ovirtual DOMString toString()

Protected Methods

oDOMString toString( const DOMString &tag )


Documentation

This EppAuthInfo class implements EPP AuthInfo entity.

ostatic const char* TYPE_PW
Authorization type "pw" for password

o EppAuthInfo()
Creates an EppAuthInfo object

o EppAuthInfo( DOMString type, DOMString value )
Creates an EppAuthInfo object


Note: the only type value is "pw", for password

o EppAuthInfo( DOMString type, DOMString value, DOMString roid )
Creates an EppAuthInfo object with a ROID.


Note: the only type value is "pw", for password

o ~EppAuthInfo()
Destructor

oDOMString getValue()
Gets the value associated with the authorization information

ovoid setValue( DOMString value )
Gets the value associated with the authorization information

oDOMString getRoid()
Gets the ROID of the authorization information

ovoid setRoid( DOMString roid )
Sets the ROID of the authorization information

oDOMString getType()
Gets the type of the authorization information

ovoid setType( DOMString type )
Sets the type of the authorization information

oDOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppAuthInfo object into an XML element

Parameters:
doc - the XML DOM_Element object
tag - the tag/element name for the EppAuthInfo object
Returns:
an DOM_Element object

ostatic EppAuthInfo* fromXML( const DOM_Node& root )
Converts an XML element into an EppAuthInfo object. The caller of this method must make sure that the root node is of the EPP AuthInfo type.

Parameters:
root - root node for an EppAuthInfo object in XML format
Returns:
an EppAuthInfo object, or null if the node is invalid


This class has no child classes.
Author:
Ning Zhang ning.zhang@neustar.com
Version:
$Revision: 1.1.1.1 $ $Date: 2005/12/06 20:11:35 $

Alphabetic index HTML hierarchy of classes or Java


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