EppContactType
This EppContactType
class implements EPP Contact Type entity.
Inheritance:
Public Methods
-
EppContactType()
- Creates an
EppContactType
object
-
EppContactType( DOMString id, DOMString type )
- Creates an
EppContactType
object with the id of an contact object and a type string
-
~EppContactType()
- Destructor
-
DOMString getId()
- Gets the id of the contact
-
void setId( DOMString id )
- Sets the id of the contact
-
DOMString getType()
- Gets the type of the contact
-
void setType( DOMString type )
- Sets the type of the contact
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppContactType
object into an XML element
-
static EppContactType* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppContactType
object.
Public Methods
-
virtual int getEntityType()
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppContactType
class implements EPP Contact Type entity.
Currently, only EPP Domain objects have contact types defined:
EppContactType()
-
Creates an
EppContactType
object
EppContactType( DOMString id, DOMString type )
-
Creates an
EppContactType
object with the id of
an contact object and a type string
~EppContactType()
-
Destructor
DOMString getId()
-
Gets the id of the contact
void setId( DOMString id )
-
Sets the id of the contact
DOMString getType()
-
Gets the type of the contact
void setType( DOMString type )
-
Sets the type of the contact
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
-
Converts the
EppContactType
object into an XML element
- Parameters:
- doc - the XML
DOM_Element
object
tag - the tag/element name for the EppContactType
object
- Returns:
- an
DOM_Element
object
static EppContactType* fromXML( const DOM_Node& root )
-
Converts an XML element into an
EppContactType
object.
The caller of this method must make sure that the root node is of
the EPP Contact Type type.
- Parameters:
- root - root node for an
EppContactType
object
in XML format
- Returns:
- an
EppContactType
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.