Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

SAX2Formatter Class Reference

#include <sax2formatter.hpp>

Inheritance diagram for SAX2Formatter:

Inheritance graph
[legend]
Collaboration diagram for SAX2Formatter:

Collaboration graph
[legend]
List of all members.

Detailed Description

Represents a task defined by an active node for the XMLFlow.

Definition at line 61 of file sax2formatter.hpp.

Public Methods

 SAX2Formatter (const char *const encodingName, const XMLFormatter::UnRepFlags unRepFlags, const bool expandNamespaces, XMLStreamConsumer *outStreamConsumer)
 ~SAX2Formatter ()
void setConsumer (XMLStreamConsumer *outStreamConsumer)
void writeChars (const XMLByte *const toWrite, const unsigned int count, XMLFormatter *const formatter)
void endDocument ()
void endElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname)
void characters (const XMLCh *const chars, const unsigned int length)
void ignorableWhitespace (const XMLCh *const chars, const unsigned int length)
void processingInstruction (const XMLCh *const target, const XMLCh *const data)
void startDocument ()
void startElement (const XMLCh *const uri, const XMLCh *const localname, const XMLCh *const qname, const Attributes &attributes)
void notationDecl (const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId)
void unparsedEntityDecl (const XMLCh *const name, const XMLCh *const publicId, const XMLCh *const systemId, const XMLCh *const notationName)

Protected Attributes

XMLFormatter fFormatter
bool fExpandNS
XMLStreamConsumerpStreamConsumer


Constructor & Destructor Documentation

SAX2Formatter::SAX2Formatter const char *const    encodingName,
const XMLFormatter::UnRepFlags    unRepFlags,
const bool    expandNamespaces,
XMLStreamConsumer   outStreamConsumer
 

Definition at line 88 of file sax2formatter.cpp.

References fFormatter, and setConsumer().

SAX2Formatter::~SAX2Formatter  
 

Definition at line 99 of file sax2formatter.cpp.


Member Function Documentation

void SAX2Formatter::characters const XMLCh *const    chars,
const unsigned int    length
 

Reimplemented in XMLFlowBuilder.

Definition at line 149 of file sax2formatter.cpp.

References fFormatter.

Referenced by XMLFlowBuilder::characters().

void SAX2Formatter::endDocument  
 

Definition at line 156 of file sax2formatter.cpp.

void SAX2Formatter::endElement const XMLCh *const    uri,
const XMLCh *const    localname,
const XMLCh *const    qname
 

Reimplemented in XMLFlowBuilder.

Definition at line 161 of file sax2formatter.cpp.

References fFormatter.

Referenced by XMLFlowBuilder::endElement().

void SAX2Formatter::ignorableWhitespace const XMLCh *const    chars,
const unsigned int    length
 

Definition at line 178 of file sax2formatter.cpp.

References fFormatter.

void SAX2Formatter::notationDecl const XMLCh *const    name,
const XMLCh *const    publicId,
const XMLCh *const    systemId
 

Definition at line 138 of file sax2formatter.cpp.

void SAX2Formatter::processingInstruction const XMLCh *const    target,
const XMLCh *const    data
 

Definition at line 185 of file sax2formatter.cpp.

References fFormatter.

void SAX2Formatter::setConsumer XMLStreamConsumer   outStreamConsumer
 

Definition at line 107 of file sax2formatter.cpp.

References pStreamConsumer.

Referenced by SAX2Formatter(), and XMLFlowBuilder::writeChars().

void SAX2Formatter::startDocument  
 

Definition at line 195 of file sax2formatter.cpp.

void SAX2Formatter::startElement const XMLCh *const    uri,
const XMLCh *const    localname,
const XMLCh *const    qname,
const Attributes &    attributes
 

Reimplemented in XMLFlowBuilder.

Definition at line 200 of file sax2formatter.cpp.

References fFormatter.

Referenced by XMLFlowBuilder::startElement().

void SAX2Formatter::unparsedEntityDecl const XMLCh *const    name,
const XMLCh *const    publicId,
const XMLCh *const    systemId,
const XMLCh *const    notationName
 

Definition at line 129 of file sax2formatter.cpp.

void SAX2Formatter::writeChars const XMLByte *const    toWrite,
const unsigned int    count,
XMLFormatter *const    formatter
 

Reimplemented in XMLFlowBuilder.

Definition at line 116 of file sax2formatter.cpp.

References pStreamConsumer, and XMLStreamConsumer::writeData().

Referenced by XMLFlowBuilder::writeChars().


Member Data Documentation

bool SAX2Formatter::fExpandNS [protected]
 

Definition at line 120 of file sax2formatter.hpp.

XMLFormatter SAX2Formatter::fFormatter [protected]
 

Definition at line 119 of file sax2formatter.hpp.

Referenced by characters(), endElement(), ignorableWhitespace(), processingInstruction(), SAX2Formatter(), and startElement().

XMLStreamConsumer* SAX2Formatter::pStreamConsumer [protected]
 

Definition at line 121 of file sax2formatter.hpp.

Referenced by setConsumer(), and writeChars().


The documentation for this class was generated from the following files:
Generated on Sat Oct 4 13:24:39 2003 for XDFLengine by doxygen1.3-rc2