class EppCredsOptions

This EppCredsOptions class implements EPP credsOptionsType entity.

Inheritance:


Public Methods

[more] EppCredsOptions()
Creates an EppCredsOptions object
[more] EppCredsOptions( DOMString version, DOMString language )
Creates an EppCredsOptions object, given the version string and language id
[more] ~EppCredsOptions()
Destructor
[more]DOMString getVersion()
Gets version string
[more]void setVersion( DOMString version )
Sets version string
[more]DOMString getLanguage()
Gets language id
[more]void setLanguage( DOMString language )
Sets language id
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppCredsOptions object into an XML element
[more]static EppCredsOptions* fromXML( const DOM_Node& root )
Converts an XML element into an EppCredsOptions object.
[more]DOMString toString()
Converts the EppCredsOptions 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 EppCredsOptions class implements EPP credsOptionsType entity.

o EppCredsOptions()
Creates an EppCredsOptions object

o EppCredsOptions( DOMString version, DOMString language )
Creates an EppCredsOptions object, given the version string and language id

Parameters:
- version verion string
language - language id

o ~EppCredsOptions()
Destructor

oDOMString getVersion()
Gets version string

ovoid setVersion( DOMString version )
Sets version string

oDOMString getLanguage()
Gets language id

ovoid setLanguage( DOMString language )
Sets language id

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

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

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

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

oDOMString toString()
Converts the EppCredsOptions object into plain XML text string by using the default root tag name

Returns:
a text string representing the EppCredsOptions 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.