- Main Page
- Namespaces
- Classes
- Files
- Related Pages

- Alphabetical List
- Class List
- Class Hierarchy
- Class Members

# Mers::Utils::Io::Xml::Dom::DOMUtils Class Reference

`#include <DOMUtils.h>`

List of all members.

## Static Public Member Functions
static XERCES_CPP_NAMESPACE::DOMImplementation * | getImplementation ()
static XERCES_CPP_NAMESPACE::DOMDocument * | getDocument (const char *rootName)

## Detailed Description

This class is a simple utility for getting some basic DOM object types without needing quite so many lines of code.

Definition at line 34 of file DOMUtils.h.

## Member Function Documentation

DOMImplementation * DOMUtils::getImplementation | ( |  | ) | `[static]`

Returns the current DOM XML Implementation.

Definition at line 30 of file DOMUtils.cpp.

Referenced by getDocument().

DOMDocument * DOMUtils::getDocument | ( | const char * | rootName | ) | `[static]`

Returns a new DOM Document that should be released when it is no longer needed. The document will not have a namespace nor will it have a document type.

Parameters:

  | rootName | The name of the root node of the new document.

Returns:
  a new DOM Document.

Definition at line 41 of file DOMUtils.cpp.

References getImplementation().

Here is the call graph for this function:

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

- /Users/fpy/titan-1-5-MBARI/Mers/Utils/Io/Xml/Dom/DOMUtils.h
- /Users/fpy/titan-1-5-MBARI/Mers/Utils/Io/Xml/Dom/DOMUtils.cpp