EppE164
This EppE164
class implements EPP e164Type, which is the ITU E164 format for telephone numbers, plus extension.
Inheritance:
Public Methods
-
EppE164()
- Creates an
EppE164
object
-
EppE164( DOMString number )
- Creates an
EppE164
object without an extension
-
EppE164( DOMString number, DOMString extension )
- Creates an
EppE164
object with an extension
-
~EppE164()
- Destructor
-
DOMString getNumber()
- Gets the phone number
-
void setNumber( DOMString number )
- Sets the phone number
-
DOMString getExtension()
- Gets the extension of the phone number, if any
-
void setExtension( DOMString extension )
- Sets the extension of the phone number
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppE164
object into an XML element
-
static EppE164* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppE164
object.
Public Methods
-
virtual int getEntityType()
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppE164
class implements EPP e164Type, which is
the ITU E164 format for telephone numbers, plus extension.
- EppE164()
-
Creates an
EppE164
object
- EppE164( DOMString number )
-
Creates an
EppE164
object without an extension
- EppE164( DOMString number, DOMString extension )
-
Creates an
EppE164
object with an extension
- ~EppE164()
-
Destructor
- DOMString getNumber()
-
Gets the phone number
- void setNumber( DOMString number )
-
Sets the phone number
- DOMString getExtension()
-
Gets the extension of the phone number, if any
- void setExtension( DOMString extension )
-
Sets the extension of the phone number
- DOM_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
- static 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.