EppCreds
This EppCreds
class implements EPP credsType entity.
Inheritance:
Public Methods
-
EppCreds()
- Creates an
EppCreds
object
-
EppCreds( DOMString clientId, DOMString password )
- Creates an
EppCreds
object, given the registrar client id and the password
-
EppCreds( DOMString clientId, DOMString password, DOMString newPassword )
- Creates an
EppCreds
object, given the registrar client id, the current password, and the new password
-
~EppCreds()
- Destructor
-
DOMString getClientId()
- Gets registrar client id
-
void setClientId( DOMString clientId )
- Sets registrar client id
-
DOMString getPassword()
- Gets registrar client's password
-
void setPassword( DOMString password )
- Sets registrar client's password
-
DOMString getNewPassword()
- Gets registrar client's new password
-
void setNewPassword( DOMString newPassword )
- Sets registrar client's new password
-
EppCredsOptions* getOptions()
- Gets credentials options
-
void setOptions( EppCredsOptions options )
- Sets credentials options
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppCreds
object into an XML element
-
static EppCreds* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppCreds
object.
-
DOMString toString()
- Converts the
EppCreds
object into plain XML text string by using the default root tag name
Public Methods
-
virtual int getEntityType()
-
bool instanceOf( const int type )
Documentation
This EppCreds
class implements EPP credsType entity.
- EppCreds()
-
Creates an
EppCreds
object
- EppCreds( DOMString clientId, DOMString password )
-
Creates an
EppCreds
object, given the registrar client
id and the password
- Parameters:
- clientId - client/registrar id
password - the password for the client/registrar
- EppCreds( DOMString clientId, DOMString password, DOMString newPassword )
-
Creates an
EppCreds
object, given the registrar client
id, the current password, and the new password
- Parameters:
- clientId - registrar client id
password - the current password for the registrar client
newPassword - the new password replacing the current password
- ~EppCreds()
-
Destructor
- DOMString getClientId()
-
Gets registrar client id
- void setClientId( DOMString clientId )
-
Sets registrar client id
- DOMString getPassword()
-
Gets registrar client's password
- void setPassword( DOMString password )
-
Sets registrar client's password
- DOMString getNewPassword()
-
Gets registrar client's new password
- void setNewPassword( DOMString newPassword )
-
Sets registrar client's new password
- EppCredsOptions* getOptions()
-
Gets credentials options
- void setOptions( EppCredsOptions options )
-
Sets credentials options
- DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
-
Converts the
EppCreds
object into an XML element
- Parameters:
- doc - the XML
DOM_Element
object
tag - the tag/element name for the EppCreds
object
- Returns:
- an
DOM_Element
object
- static EppCreds* fromXML( const DOM_Node& root )
-
Converts an XML element into an
EppCreds
object. The
caller of this method must make sure that the root node is of the
EPP credsType.
- Parameters:
- root - root node for an
EppCreds
object in XML format
- Returns:
- an
EppCreds
object, or null if the node is invalid
- DOMString toString()
-
Converts the
EppCreds
object into plain XML text string
by using the default root tag name
- Returns:
- a text string representing the
EppCreds
object
in XML format
- 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.