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

PmtDomParser Class Reference

The PmtDomParser is a convenience wrapper around the XML Parser. More...

#include <PmtDomParser.h>

Inheritance diagram for PmtDomParser:

[legend]
Collaboration diagram for PmtDomParser:
[legend]
List of all members.

Public Methods

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

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

 PmtDomParser (const PmtDomParser &other)
PmtDomParser & operator= (const PmtDomParser &other)
const SPmtStringgetParserName () const
void setParserName (const char *parserName)
DOM_TreeWalker & getTreeWalker ()
void initialize (bool doNamespace=false)
 This method initialzes the class variables. More...

virtual void uninitialize ()
 This method uninitializes the class variables. More...

void parse (const char *xmlURL)
 This method parses the incoming xml file. More...

void getIncludedFiles (const char *tagToFind)
void parseIncludes (char *includedSchemaUrl)
void parse (const InputSource &memorySource)
 This method parses the input source. More...

const PmtDomElementgetCurElement () const
 This method returns the current element. More...

void setCurElement (const PmtDomElement &element)
 This method sets the current element. More...

void setCurElementXMLRoot ()
 This method sets the current element equal to the root element. More...

const DOM_Node & getCurDomElement () const
 This method returns the current Dom Element. More...

bool setNextChild ()
 This method sets the next child. More...

bool setNextSibling ()
 This method sets the next sibling. More...

bool isDoNamespace () const
DOM_Document & getDomDocument ()
DOM_Node & getTreeWalkerXMLRootNOde ()

Static Public Methods

SPmtString getPrefix (const SPmtString &name)
SPmtString getLocal (const SPmtString &name)

Protected Methods

void uninit ()

Protected Attributes

DOM_Document mDoc
DOM_TreeWalker mTreeWalker
DOM_Node mTreeWalkerXMLRootNode
PmtDomElement mCurElement
PmtDomElement mIncludeCurElement

Detailed Description

The PmtDomParser is a convenience wrapper around the XML Parser.


Constructor & Destructor Documentation

PmtDomParser::PmtDomParser  
 

This is the default constructor.

PmtDomParser::~PmtDomParser   [virtual]
 

This is the virtual destructor.

PmtDomParser::PmtDomParser const PmtDomParser &    other [inline]
 

Copy constructor.

Parameters:
other  The object to be copied.


Member Function Documentation

const DOM_Node& PmtDomParser::getCurDomElement   const [inline]
 

This method returns the current Dom Element.

const PmtDomElement& PmtDomParser::getCurElement   const [inline]
 

This method returns the current element.

DOM_Document& PmtDomParser::getDomDocument   [inline]
 

void PmtDomParser::getIncludedFiles const char *    tagToFind
 

SPmtString PmtDomParser::getLocal const SPmtString   name [static]
 

const SPmtString& PmtDomParser::getParserName   const [inline]
 

SPmtString PmtDomParser::getPrefix const SPmtString   name [static]
 

DOM_TreeWalker& PmtDomParser::getTreeWalker   [inline]
 

DOM_Node& PmtDomParser::getTreeWalkerXMLRootNOde   [inline]
 

void PmtDomParser::initialize bool    doNamespace = false
 

This method initialzes the class variables.

bool PmtDomParser::isDoNamespace   const [inline]
 

PmtDomParser & PmtDomParser::operator= const PmtDomParser &    other
 

Assignment operator.

Parameters:
other  The source to be assigned.

void PmtDomParser::parse const InputSource &    memorySource
 

This method parses the input source.

void PmtDomParser::parse const char *    xmlURL
 

This method parses the incoming xml file.

void PmtDomParser::parseIncludes char *    includedSchemaUrl
 

void PmtDomParser::setCurElement const PmtDomElement   element [inline]
 

This method sets the current element.

void PmtDomParser::setCurElementXMLRoot   [inline]
 

This method sets the current element equal to the root element.

bool PmtDomParser::setNextChild  
 

This method sets the next child.

bool PmtDomParser::setNextSibling  
 

This method sets the next sibling.

void PmtDomParser::setParserName const char *    parserName [inline]
 

void PmtDomParser::uninit   [protected]
 

void PmtDomParser::uninitialize   [virtual]
 

This method uninitializes the class variables.

Reimplemented in PmtSchemaParser.


Member Data Documentation

PmtDomElement PmtDomParser::mCurElement [protected]
 

DOM_Document PmtDomParser::mDoc [protected]
 

PmtDomElement PmtDomParser::mIncludeCurElement [protected]
 

DOM_TreeWalker PmtDomParser::mTreeWalker [protected]
 

DOM_Node PmtDomParser::mTreeWalkerXMLRootNode [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.