EppStatus
This EppStatus
class implements EPP Status entity.
Inheritance:
Public Methods
-
EppStatus()
- Creates an
EppStatus
object, with default status as "ok" and language as "en"
-
EppStatus( DOMString status )
- Creates an
EppStatus
object with a status code
-
EppStatus( DOMString status, DOMString lang, DOMString message )
- Creates an
EppStatus
object with a status code, and a descriptive message
-
~EppStatus()
- Destructor
-
DOMString getMessage()
- Gets the description message associated with the
EppStatus
object
-
void setMessage( DOMString message )
- Sets the description message associated with the
EppStatus
object
-
DOMString getStatus()
- Gets the status code string
-
void setStatus( DOMString status )
- Sets the status code string
-
DOMString getLanguage()
- Gets the language for encoding the description message
-
void setLanguage( DOMString language )
- Sets the language for encoding the description message
-
DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
- Converts the
EppStatus
object into an XML element
-
static EppStatus* fromXML( const DOM_Node& root )
- Converts an XML element into an
EppStatus
object.
Public Methods
-
virtual int getEntityType()
-
bool instanceOf( const int type )
-
virtual DOMString toString()
Protected Methods
-
DOMString toString( const DOMString &tag )
Documentation
This EppStatus
class implements EPP Status entity. Different EPP
objects have different status values:
- EPP Contact Object
- clientDeleteProhibited
- clientTransferProhibited
- clientUpdateProhibited
- linked
- ok
- pendingDelete
- pendingTransfer
- serverDeleteProhibited
- serverTransferProhibited
- serverUpdateProhibited
- EPP Domain Object
- clientDeleteProhibited
- clientHold
- clientRenewProhibited
- clientTransferProhibited
- clientUpdateProhibited
- inactive
- ok
- pendingDelete
- pendingTransfer
- pendingVerification
- serverDeleteProhibited
- serverHold
- serverRenewProhibited
- serverTransferProhibited
- serverUpdateProhibited
- EPP Host Object
- clientDeleteProhibited
- clientUpdateProhibited
- linked
- ok
- pendingDelete
- pendingTransfer
- serverDeleteProhibited
- serverUpdateProhibited
- EppStatus()
-
Creates an
EppStatus
object, with default status
as "ok" and language as "en"
- EppStatus( DOMString status )
-
Creates an
EppStatus
object with a status code
- EppStatus( DOMString status, DOMString lang, DOMString message )
-
Creates an
EppStatus
object with a status code,
and a descriptive message
- ~EppStatus()
-
Destructor
- DOMString getMessage()
-
Gets the description message associated with the
EppStatus
object
- void setMessage( DOMString message )
-
Sets the description message associated with the
EppStatus
object
- DOMString getStatus()
-
Gets the status code string
- void setStatus( DOMString status )
-
Sets the status code string
- DOMString getLanguage()
-
Gets the language for encoding the description message
- void setLanguage( DOMString language )
-
Sets the language for encoding the description message
- DOM_Element toXML( DOM_Document& doc, const DOMString& tag )
-
Converts the
EppStatus
object into an XML element
- Parameters:
- doc - the XML
DOM_Element
object
tag - the tag/element name for the EppStatus
object
- Returns:
- an
DOM_Element
object
- static EppStatus* fromXML( const DOM_Node& root )
-
Converts an XML element into an
EppStatus
object.
The caller of this method must make sure that the root node is of
the EPP Status type.
- Parameters:
- root - root node for an
EppStatus
object
in XML format
- Returns:
- an
EppStatus
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.