nidas v1.2.3
Public Member Functions | Static Public Member Functions | Static Private Attributes | List of all members
nidas::core::DOMable Class Referenceabstract

Interface of an object that can be instantiated from a DOM element, via the fromDOMElement method, or that can be serialized into a DOM, via the toDOMParent/toDOMElement method. More...

#include <DOMable.h>

Inheritance diagram for nidas::core::DOMable:
Inheritance graph
[legend]

Public Member Functions

virtual ~DOMable ()
 Virtual destructor.
 
virtual void fromDOMElement (const xercesc::DOMElement *)=0
 Initialize myself from a xercesc::DOMElement.
 
virtual xercesc::DOMElement * toDOMParent (xercesc::DOMElement *parent, bool complete) const
 Create a DOMElement and append it to the parent.
 
virtual xercesc::DOMElement * toDOMElement (xercesc::DOMElement *node, bool complete) const
 Add my content into a DOMElement.
 

Static Public Member Functions

static const XMLChgetNamespaceURI ()
 

Static Private Attributes

static XMLChnamespaceURI = 0
 

Detailed Description

Interface of an object that can be instantiated from a DOM element, via the fromDOMElement method, or that can be serialized into a DOM, via the toDOMParent/toDOMElement method.

Constructor & Destructor Documentation

◆ ~DOMable()

virtual nidas::core::DOMable::~DOMable ( )
inlinevirtual

Virtual destructor.

Member Function Documentation

◆ fromDOMElement()

virtual void nidas::core::DOMable::fromDOMElement ( const xercesc::DOMElement * )
pure virtual

◆ getNamespaceURI()

static const XMLCh * nidas::core::DOMable::getNamespaceURI ( )
inlinestatic

◆ toDOMElement()

xercesc::DOMElement * DOMable::toDOMElement ( xercesc::DOMElement * node,
bool complete ) const
virtual

◆ toDOMParent()

xercesc::DOMElement * DOMable::toDOMParent ( xercesc::DOMElement * parent,
bool complete ) const
virtual

Create a DOMElement and append it to the parent.

Exceptions
xercesc::DOMException

Reimplemented in nidas::core::DSMConfig, nidas::core::DSMSensor, nidas::core::Project, nidas::core::SampleTag, nidas::core::Site, nidas::core::ServerSocket, and nidas::core::Variable.

Member Data Documentation

◆ namespaceURI

XMLCh * DOMable::namespaceURI = 0
staticprivate

Referenced by getNamespaceURI().


The documentation for this class was generated from the following files: