EppIpAddress
This EppIpAddress
class implements EPP IP Address entity.
Inheritance:
Public Fields
-
static const char* TYPE_V4
- IP address type for "v4"
-
static const char* TYPE_V6
- IP address type for "v6"
Public Methods
-
EppIpAddress()
- Creates an
EppAddress
object
-
EppIpAddress( DOMString address )
- Creates an
EppAddress
object with the default address type, "v4"
-
EppIpAddress( DOMString address, DOMString type )
- Creates an
EppAddress
object with an address type, either "v4" (default) or "v6"
-
~EppIpAddress()
- Destructor
-
DOMString getType()
- Gets the IP address type, either "v4" or "v6"
-
void setType( DOMString type )
- Sets the IP address type, either "v4" or "v6"
-
DOMString getAddress()
- Gets the IP address
-
void setAddress( DOMString address )
- Sets the IP address
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppIpAddress
object into an XML element
-
static EppIpAddress* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppIpAddress
object.
Public Methods
-
virtual int getEntityType()
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppIpAddress
class implements EPP IP Address entity.
- static const char* TYPE_V4
-
IP address type for "v4"
- static const char* TYPE_V6
-
IP address type for "v6"
- EppIpAddress()
-
Creates an
EppAddress
object
- EppIpAddress( DOMString address )
-
Creates an
EppAddress
object with the default
address type, "v4"
- EppIpAddress( DOMString address, DOMString type )
-
Creates an
EppAddress
object with an address type,
either "v4" (default) or "v6"
- ~EppIpAddress()
-
Destructor
- DOMString getType()
-
Gets the IP address type, either "v4" or "v6"
- void setType( DOMString type )
-
Sets the IP address type, either "v4" or "v6"
- DOMString getAddress()
-
Gets the IP address
- void setAddress( DOMString address )
-
Sets the IP address
- DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
-
Converts the
EppIpAddress
object into an XML element
- Parameters:
- doc - the XML
DOM_Element
object
tag - the tag/element name for the EppIpAddress
object
- Returns:
- an
DOM_Element
object
- static EppIpAddress* fromXML( const DOM_Node& root )
-
Converts an XML element into an
EppIpAddress
object.
The caller of this method must make sure that the root node is of
the EPP IP Address type.
- Parameters:
- root - root node for an
EppIpAddress
object
in XML format
- Returns:
- an
EppIpAddress
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.