Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.3

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

FormatterToHTML Class Reference

FormatterToHTML formats SAX-style events into HTML. More...

#include <FormatterToHTML.hpp>

Inheritance diagram for FormatterToHTML

Inheritance graph

[legend]
Collaboration diagram for FormatterToHTML:

Collaboration graph

[legend]
List of all members.

Public Types

Public Methods

Static Public Methods

Protected Methods


Detailed Description

FormatterToHTML formats SAX-style events into HTML.


Member Typedef Documentation

typedef XalanArrayKeyMap< XalanDOMChar, ElemDesc, less_no_case_ascii_wide_string> FormatterToHTML::ElementFlagsMapType
 

typedef std::map<XalanDOMChar, XalanDOMString> FormatterToHTML::XalanEntityReferenceMapType
 


Member Enumeration Documentation

enum FormatterToHTML::eDummy
 

Enumeration values:
eDefaultIndentAmount  

Reimplemented from FormatterToXML.


Constructor & Destructor Documentation

FormatterToHTML::FormatterToHTML ( Writer & writer,
const XalanDOMString & encoding = XalanDOMString(),
const XalanDOMString & mediaType = XalanDOMString(),
const XalanDOMString & doctypeSystem = XalanDOMString(),
const XalanDOMString & doctypePublic = XalanDOMString(),
bool doIndent = true,
int indent = eDefaultIndentAmount,
const XalanDOMString & version = XalanDOMString(),
const XalanDOMString & standalone = XalanDOMString(),
bool xmlDecl = false )
 

Constructor for customized encoding and doctype.

Parameters:
writer   The character output stream to use.
encoding   Java character encoding in use by writer.
doctype   String to be printed at the top of the document.
indent   Number of spaces to indent at each nesting level.

virtual FormatterToHTML::~FormatterToHTML ( ) [virtual]
 


Member Function Documentation

virtual void FormatterToHTML::accumCommentData ( const XalanDOMChar * data ) [protected, virtual]
 

Write the data for a comment.

Parameters:
data   The comment's data.

Reimplemented from FormatterToXML.

virtual bool FormatterToHTML::accumDefaultEntity ( XalanDOMChar ch,
XalanDOMString::size_type i,
const XalanDOMChar chars[],
XalanDOMString::size_type len,
bool escLF ) [virtual]
 

Handle one of the default entities, return false if it is not a default entity.

Reimplemented from FormatterToXML.

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

Reimplemented from FormatterToXML.

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

Reimplemented from FormatterToXML.

virtual void FormatterToHTML::endDocument ( ) [virtual]
 

Reimplemented from FormatterToXML.

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

Reimplemented from FormatterToXML.

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

Receive notification of a entityReference.

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

Reimplemented from FormatterToXML.

void FormatterToHTML::initialize ( ) [static]
 

Perform static initialization.

See class XMLSupportInit.

Reimplemented from FormatterToXML.

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

Reimplemented from FormatterToXML.

virtual void FormatterToHTML::startDocument ( ) [virtual]
 

Reimplemented from FormatterToXML.

virtual void FormatterToHTML::startElement ( const XMLCh *const name,
AttributeList & attrs ) [virtual]
 

Reimplemented from FormatterToXML.

void FormatterToHTML::terminate ( ) [static]
 

Perform static shut down.

See class XMLSupportInit.

Reimplemented from FormatterToXML.

virtual void FormatterToHTML::writeAttrString ( const XalanDOMChar * theString ) [protected, virtual]
 

Write an attribute string.

Parameters:
theString   The string to write.

Reimplemented from FormatterToXML.

void FormatterToHTML::writeCharacters ( const XalanDOMChar * theString,
XalanDOMString::size_type theLength = XalanDOMString::npos ) [protected]
 

void FormatterToHTML::writeCharacters ( const XalanDOMString & theString ) [protected]
 


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.3
Copyright © 2000, 2001 The Apache Software Foundation. All Rights Reserved.