class EppE164

This EppE164 class implements EPP e164Type, which is the ITU E164 format for telephone numbers, plus extension.

Inheritance:


Public Methods

[more] EppE164()
Creates an EppE164 object
[more] EppE164( DOMString number )
Creates an EppE164 object without an extension
[more] EppE164( DOMString number, DOMString extension )
Creates an EppE164 object with an extension
[more] ~EppE164()
Destructor
[more]DOMString getNumber()
Gets the phone number
[more]void setNumber( DOMString number )
Sets the phone number
[more]DOMString getExtension()
Gets the extension of the phone number, if any
[more]void setExtension( DOMString extension )
Sets the extension of the phone number
[more]DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
Converts the EppE164 object into an XML element
[more]static EppE164* fromXML( const DOM_Node& root )
Converts an XML element into an EppE164 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 EppE164 class implements EPP e164Type, which is the ITU E164 format for telephone numbers, plus extension.

o EppE164()
Creates an EppE164 object

o EppE164( DOMString number )
Creates an EppE164 object without an extension

o EppE164( DOMString number, DOMString extension )
Creates an EppE164 object with an extension

o ~EppE164()
Destructor

oDOMString getNumber()
Gets the phone number

ovoid setNumber( DOMString number )
Sets the phone number

oDOMString getExtension()
Gets the extension of the phone number, if any

ovoid setExtension( DOMString extension )
Sets the extension of the phone number

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

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

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

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


This class has no child classes.
Author:
Ning Zhang ning.zhang@neustar.com
Version:
$Revision$ $Date$

Alphabetic index HTML hierarchy of classes or Java


Copyright © 2001 NeuStar, Inc. All Rights Reserved.