Xalan-C++ API Documentation
Xalan-C++ API Documentation
The Xalan-C++ XSL Transformer Version 1.0
Main Page Namespace List 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:
Collaboration diagram for FormatterToHTML:
List of all members.
Public Types
Public Methods
- 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. More...
- virtual ~FormatterToHTML ()
- virtual void startDocument ()
- virtual void startElement ( const XMLCh* const name, AttributeList& attrs)
- virtual void endElement (const XMLCh* const name)
- virtual void characters ( const XMLCh* const chars, const unsigned int length)
- virtual void entityReference (const XMLCh* const name)
- Receive notification of a entityReference. More...
- virtual void cdata ( const XMLCh* const ch, const unsigned int length)
- Receive notification of cdata. More...
- virtual void processingInstruction ( const XMLCh* const target, const XMLCh* const data)
Static Public Methods
Protected Methods
Detailed Description
FormatterToHTML formats SAX-style events into HTML.
Member Typedef Documentation
Member Enumeration Documentation
enum FormatterToHTML::eDummy |
|
Constructor & Destructor Documentation
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::cdata (
|
const XMLCh * const ch, |
|
const unsigned int length) [virtual] |
|
Receive notification of cdata.
The Parser will call this method to report each chunk of
character data. SAX parsers may return all contiguous character
data in a single chunk, or they may split it into several
chunks; however, all of the characters in any single event
must come from the same external entity, so that the Locator
provides useful information.
The application must not attempt to read from the array
outside of the specified range.
Note that some parsers will report whitespace using the
ignorableWhitespace() method rather than this one (validating
parsers must do so).
-
Parameters:
-
ch
|
pointer to characters from the XML document
|
length
|
number of characters to read from the array
|
-
Exceptions:
-
Reimplemented from FormatterToXML.
virtual void FormatterToHTML::characters (
|
const XMLCh * const chars, |
|
const unsigned int length) [virtual] |
|
virtual void FormatterToHTML::endElement (
|
const XMLCh * const name) [virtual] |
|
virtual void FormatterToHTML::entityReference (
|
const XMLCh * const name) [virtual] |
|
Receive notification of a entityReference.
-
Parameters:
-
data
|
pointer to characters from the XML document
|
-
Exceptions:
-
Reimplemented from FormatterToXML.
void FormatterToHTML::initialize () [static] |
|
virtual void FormatterToHTML::processingInstruction (
|
const XMLCh * const target, |
|
const XMLCh * const data) [virtual] |
|
virtual void FormatterToHTML::startDocument () [virtual] |
|
virtual void FormatterToHTML::startElement (
|
const XMLCh * const name, |
|
AttributeList & attrs) [virtual] |
|
void FormatterToHTML::terminate () [static] |
|
Write an attribute string.
-
Parameters:
-
string
|
The string to write.
|
encoding
|
The current encoding.
|
Reimplemented from FormatterToXML.
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++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.
|
|