Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.5

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

FormatterToSourceTree Class Reference

This class takes SAX events (in addition to some extra events that SAX doesn't handle yet) and adds the result to a document or document fragment. More...

#include <FormatterToSourceTree.hpp>

Inheritance diagram for FormatterToSourceTree:

Inheritance graph
[legend]
Collaboration diagram for FormatterToSourceTree:

Collaboration graph
[legend]
List of all members.

Public Types

Public Methods

Static Public Methods


Detailed Description

This class takes SAX events (in addition to some extra events that SAX doesn't handle yet) and adds the result to a document or document fragment.


Member Typedef Documentation

typedef std::vector< XalanSourceTreeElement *> FormatterToSourceTree::ElementStackType<XalanSourceTreeElement*>
 

typedef std::vector< XalanNode *> FormatterToSourceTree::LastChildStackType<XalanNode*>
 


Member Enumeration Documentation

anonymous enum
 

Enumeration values:
eDefaultStackSize  
eDefaultTextBufferSize  


Constructor & Destructor Documentation

FormatterToSourceTree::FormatterToSourceTree ( XalanSourceTreeDocument * theDocument = 0 ) [explicit]
 

Construct a FormatterToSourceTree instance.

it will add the nodes to the document.

Parameters:
theDocument   The document for nodes

FormatterToSourceTree::FormatterToSourceTree ( XalanSourceTreeDocument * theDocument,
XalanSourceTreeDocumentFragment * theDocumentFragment )
 

Construct a FormatterToSourceTree instance.

it will add the nodes to the document fragment.

Parameters:
theDocument   The document for nodes
theDocumentFragment   The document fragment for nodes

FormatterToSourceTree::~FormatterToSourceTree ( ) [virtual]
 


Member Function Documentation

void FormatterToSourceTree::cdata ( const XMLCh *const ch,
const unsigned int length ) [virtual]
 

void FormatterToSourceTree::characters ( const XMLCh *const chars,
const unsigned int length ) [virtual]
 

void FormatterToSourceTree::charactersRaw ( const XMLCh *const chars,
const unsigned int length ) [virtual]
 

void FormatterToSourceTree::comment ( const XMLCh *const data ) [virtual]
 

Called when a Comment is to be constructed.

Parameters:
data   pointer to comment data
Exceptions:
SAXException  

Reimplemented from FormatterListener.

void FormatterToSourceTree::endDocument ( ) [virtual]
 

Reimplemented from FormatterListener.

void FormatterToSourceTree::endElement ( const XMLCh *const name ) [virtual]
 

Reimplemented from FormatterListener.

void FormatterToSourceTree::entityReference ( const XMLCh *const name ) [virtual]
 

Receive notification of a entityReference.

Parameters:
data   pointer to characters from the XML document
Exceptions:
SAXException  

Reimplemented from FormatterListener.

XalanSourceTreeElement * FormatterToSourceTree::getCurrentElement ( ) const
 

XalanSourceTreeDocument * FormatterToSourceTree::getDocument ( ) const
 

XalanSourceTreeDocumentFragment * FormatterToSourceTree::getDocumentFragment ( ) const
 

void FormatterToSourceTree::ignorableWhitespace ( const XMLCh *const chars,
const unsigned int length ) [virtual]
 

void FormatterToSourceTree::initialize ( ) [static]
 

Perform static initialization.

See class XalanSourceTreeInit.

void FormatterToSourceTree::processingInstruction ( const XMLCh *const target,
const XMLCh *const data ) [virtual]
 

Reimplemented from FormatterListener.

void FormatterToSourceTree::resetDocument ( ) [virtual]
 

Reimplemented from FormatterListener.

void FormatterToSourceTree::setCurrentElement ( XalanSourceTreeElement * theElement )
 

void FormatterToSourceTree::setDocument ( XalanSourceTreeDocument * theDocument )
 

void FormatterToSourceTree::setDocumentFragment ( XalanSourceTreeDocumentFragment * theDocumentFragment )
 

void FormatterToSourceTree::setDocumentLocator ( const LocatorType *const locator ) [virtual]
 

Reimplemented from FormatterListener.

void FormatterToSourceTree::startDocument ( ) [virtual]
 

Reimplemented from FormatterListener.

void FormatterToSourceTree::startElement ( const XMLCh *const name,
AttributeListType & attrs ) [virtual]
 

Reimplemented from FormatterListener.

void FormatterToSourceTree::terminate ( ) [static]
 

Perform static shut down.

See class XalanSourceTreeInit.


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

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

Xalan-C++ XSLT Processor Version 1.5
Copyright © 2000, 2001, 2002, 2003 The Apache Software Foundation. All Rights Reserved.