EppContactData
This EppContactData
class implements EPP Contact multiDataType for recording contact data.
Inheritance:
Public Methods
-
EppContactData()
- Creates an
EppContactData
object
-
EppContactData( DOMString name, EppAddress& address )
- Creates an
EppContactData
object without organization value
-
EppContactData( DOMString name, DOMString org, EppAddress& address )
- Creates an
EppContactData
object with organization name
-
~EppContactData()
- Destructor
-
DOMString getName()
- Gets the name of the contact
-
void setName( DOMString name )
- Sets the name of the contact
-
DOMString getOrganization()
- Gets the organization name of the contact
-
void setOrganization( DOMString org )
- Sets the organization name of the contact
-
bool getOrganizationFlag()
- Gets the flag indicating that the organization name should be nullified
-
void setOrganizationFlag( bool flag )
- Sets the flag indicating that the organization name should be nullified
-
EppAddress getAddress()
- Gets the address of the contact
-
void setAddress( EppAddress& address )
- Sets the address of the contact
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppContactData
object into an XML element
-
static EppContactData* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppContactData
object.
Public Methods
-
virtual int getEntityType()
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppContactData
class implements EPP Contact multiDataType
for recording contact data.
- EppContactData()
-
Creates an
EppContactData
object
- EppContactData( DOMString name, EppAddress& address )
-
Creates an
EppContactData
object without organization
value
- Parameters:
- name - name of the contact, either a person or a company
address - address of the contact
- EppContactData( DOMString name, DOMString org, EppAddress& address )
-
Creates an
EppContactData
object with organization name
- Parameters:
- name - name of the contact, either a person or a company
org - name of the organization for the contact
address - address of the contact
- ~EppContactData()
-
Destructor
- DOMString getName()
-
Gets the name of the contact
- void setName( DOMString name )
-
Sets the name of the contact
- DOMString getOrganization()
-
Gets the organization name of the contact
- void setOrganization( DOMString org )
-
Sets the organization name of the contact
- bool getOrganizationFlag()
-
Gets the flag indicating that the organization name should be nullified
- void setOrganizationFlag( bool flag )
-
Sets the flag indicating that the organization name should be nullified
- EppAddress getAddress()
-
Gets the address of the contact
- void setAddress( EppAddress& address )
-
Sets the address of the contact
- DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
-
Converts the
EppContactData
object into an XML element
- Parameters:
- doc - the XML
DOM_Element
object
tag - the tag/element name for the EppContactData
object
- Returns:
- an
DOM_Element
object
- static EppContactData* fromXML( const DOM_Node& root )
-
Converts an XML element into an
EppContactData
object.
The caller of this method must make sure that the root node is of
the EPP Contact multiDataType.
- Parameters:
- root - root node for an
EppContactData
object in
XML format
- Returns:
- an
EppContactData
object, or null if the node is
invalid
- 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.