class EppCreds

This EppCreds class implements EPP credsType entity.

Inheritance:


Public Methods

[more] EppCreds()
Creates an EppCreds object
[more] EppCreds( DOMString clientId, DOMString password )
Creates an EppCreds object, given the registrar client id and the password
[more] EppCreds( DOMString clientId, DOMString password, DOMString newPassword )
Creates an EppCreds object, given the registrar client id, the current password, and the new password
[more] ~EppCreds()
Destructor
[more]DOMString getClientId()
Gets registrar client id
[more]void setClientId( DOMString clientId )
Sets registrar client id
[more]DOMString getPassword()
Gets registrar client's password
[more]void setPassword( DOMString password )
Sets registrar client's password
[more]DOMString getNewPassword()
Gets registrar client's new password
[more]void setNewPassword( DOMString newPassword )
Sets registrar client's new password
[more]EppCredsOptions* getOptions()
Gets credentials options
[more]void setOptions( EppCredsOptions options )
Sets credentials options
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppCreds object into an XML element
[more]static EppCreds* fromXML( const DOM_Node& root )
Converts an XML element into an EppCreds object.
[more]DOMString toString()
Converts the EppCreds object into plain XML text string by using the default root tag name


Inherited from EppEntity:

Public Methods

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


Documentation

This EppCreds class implements EPP credsType entity.

o EppCreds()
Creates an EppCreds object

o 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

o 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

o ~EppCreds()
Destructor

oDOMString getClientId()
Gets registrar client id

ovoid setClientId( DOMString clientId )
Sets registrar client id

oDOMString getPassword()
Gets registrar client's password

ovoid setPassword( DOMString password )
Sets registrar client's password

oDOMString getNewPassword()
Gets registrar client's new password

ovoid setNewPassword( DOMString newPassword )
Sets registrar client's new password

oEppCredsOptions* getOptions()
Gets credentials options

ovoid setOptions( EppCredsOptions options )
Sets credentials options

oDOM_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

ostatic 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

oDOMString 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 $ $Date: 2001/11/05 20:20:36 $

Alphabetic index HTML hierarchy of classes or Java


Copyright © 2001 NeuStar, Inc. All Rights Reserved.