Main Page | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

XMLHelper.h File Reference

A helper class for working with W3C DOM objects. More...

#include <xmltooling/XMLObject.h>
#include <xercesc/dom/DOM.hpp>
#include <iostream>

Namespaces

namespace  xmltooling

Classes

class  xmltooling::XercesJanitor< T >
 RAII wrapper for Xerces resources. More...
class  xmltooling::XMLHelper
 A helper class for working with W3C DOM objects. More...

Functions

std::ostream & operator<< (std::ostream &ostr, const xercesc::DOMNode &n)
 Serializes the DOM node provided to a stream using UTF-8 encoding and the default XML serializer available.
std::ostream & operator<< (std::ostream &ostr, const XMLObject &obj)
 Marshalls and serializes the XMLObject provided to a stream using UTF-8 encoding and the default XML serializer available.


Detailed Description

A helper class for working with W3C DOM objects.


Function Documentation

std::ostream& operator<< (  std::ostream &  ostr,
const XMLObject &  obj
) 
 

Marshalls and serializes the XMLObject provided to a stream using UTF-8 encoding and the default XML serializer available.

No manipulation or formatting is applied.

The marshaller operation takes no parameters.

Parameters:
obj object to serialize
ostr stream to serialize object into
Returns:
reference to output stream

std::ostream& operator<< (  std::ostream &  ostr,
const xercesc::DOMNode &  n
) 
 

Serializes the DOM node provided to a stream using UTF-8 encoding and the default XML serializer available.

No manipulation or formatting is applied.

Parameters:
n node to serialize
ostr stream to serialize element into
Returns:
reference to output stream


Generated on Wed Jun 17 16:50:43 2009 for xmltooling by  doxygen 1.3.9.1