EppAuthInfo
This EppAuthInfo
class implements EPP AuthInfo entity.
Inheritance:
Public Fields
-
static const char* TYPE_PW
- Authorization type "pw" for password
Public Methods
-
EppAuthInfo()
- Creates an
EppAuthInfo
object
-
EppAuthInfo( DOMString type, DOMString value )
- Creates an
EppAuthInfo
object
-
EppAuthInfo( DOMString type, DOMString value, DOMString roid )
- Creates an
EppAuthInfo
object with a ROID.
-
~EppAuthInfo()
- Destructor
-
DOMString getValue()
- Gets the value associated with the authorization information
-
void setValue( DOMString value )
- Gets the value associated with the authorization information
-
DOMString getRoid()
- Gets the ROID of the authorization information
-
void setRoid( DOMString roid )
- Sets the ROID of the authorization information
-
DOMString getType()
- Gets the type of the authorization information
-
void setType( DOMString type )
- Sets the type of the authorization information
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppAuthInfo
object into an XML element
-
static EppAuthInfo* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppAuthInfo
object.
Public Methods
-
virtual int getEntityType()
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppAuthInfo
class implements EPP AuthInfo entity.
static const char* TYPE_PW
-
Authorization type "pw" for password
EppAuthInfo()
-
Creates an
EppAuthInfo
object
EppAuthInfo( DOMString type, DOMString value )
-
Creates an
EppAuthInfo
object
Note: the only type value is "pw", for password
EppAuthInfo( DOMString type, DOMString value, DOMString roid )
-
Creates an
EppAuthInfo
object with a ROID.
Note: the only type value is "pw", for password
~EppAuthInfo()
-
Destructor
DOMString getValue()
-
Gets the value associated with the authorization information
void setValue( DOMString value )
-
Gets the value associated with the authorization information
DOMString getRoid()
-
Gets the ROID of the authorization information
void setRoid( DOMString roid )
-
Sets the ROID of the authorization information
DOMString getType()
-
Gets the type of the authorization information
void setType( DOMString type )
-
Sets the type of the authorization information
DOM_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
static 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.