SourceForge.net Logo
Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

PmtDomNode Class Reference

PmtDomNode is a convenience wrapper around the DOM_Node class of the XML Parser. More...

#include <PmtDomNode.h>

Inheritance diagram for PmtDomNode:

[legend]
List of all members.

Public Methods

 PmtDomNode ()
 This is the default constructor. More...

 PmtDomNode (const DOM_Node &node)
 This is the copy contructor. More...

virtual ~PmtDomNode ()
 This is the virtual destructor. More...

PmtDomNode & operator= (const PmtDomNode &pmtDomNode)
 This is the assignment operator. More...

void operator= (const DOM_Node &node)
 This ia a special assignment operator that creates a DOM_Node. More...

const DOMString getNodeName () const
 This method returns the node name. More...

void getNodeName (SPmtString &nodeName) const
 This method returns the node name through the parameter list. More...

bool isElement () const
 This method check to see if the dome node is an element node. More...

const DOM_Node & getNode () const
 This method returns the Dom_Node. More...

void showNodeTagName () const
 This method prints the node's tag name. More...

void showNodeTagNameAndValue (bool carriageReturn=false) const
 This method prints the node's tag name and value. More...

virtual void showValue () const
 This method prints the node's value. More...


Protected Attributes

DOM_Node mNode

Detailed Description

PmtDomNode is a convenience wrapper around the DOM_Node class of the XML Parser.


Constructor & Destructor Documentation

PmtDomNode::PmtDomNode   [inline]
 

This is the default constructor.

PmtDomNode::PmtDomNode const DOM_Node &    node [inline]
 

This is the copy contructor.

virtual PmtDomNode::~PmtDomNode   [inline, virtual]
 

This is the virtual destructor.


Member Function Documentation

const DOM_Node& PmtDomNode::getNode   const [inline]
 

This method returns the Dom_Node.

void PmtDomNode::getNodeName SPmtString   nodeName const
 

This method returns the node name through the parameter list.

const DOMString PmtDomNode::getNodeName   const
 

This method returns the node name.

bool PmtDomNode::isElement   const
 

This method check to see if the dome node is an element node.

void PmtDomNode::operator= const DOM_Node &    node [inline]
 

This ia a special assignment operator that creates a DOM_Node.

This deliberately returns void, since under no circumstances do we want to allow initialization chaining.

Reimplemented in PmtDomElement.

PmtDomNode & PmtDomNode::operator= const PmtDomNode &    pmtDomNode
 

This is the assignment operator.

void PmtDomNode::showNodeTagName   const
 

This method prints the node's tag name.

void PmtDomNode::showNodeTagNameAndValue bool    carriageReturn = false const
 

This method prints the node's tag name and value.

void PmtDomNode::showValue   const [virtual]
 

This method prints the node's value.


Member Data Documentation

DOM_Node PmtDomNode::mNode [protected]
 


The documentation for this class was generated from the following files:
Last Updated: March 12, 2003 (rlr)
Copyright © 2003 Eastman Kodak Company All Rights Reserved.