FormatterToHTML formats SAX-style events into HTML. More...
#include <FormatterToHTML.hpp>
Inherits FormatterToXML.
FormatterToHTML formats SAX-style events into HTML.
Definition at line 52 of file FormatterToHTML.hpp.
typedef XalanVector<XalanHTMLElementsProperties::ElementProperties> FormatterToHTML::ElementPropertiesStackType |
Definition at line 58 of file FormatterToHTML.hpp.
anonymous enum |
Definition at line 61 of file FormatterToHTML.hpp.
FormatterToHTML::FormatterToHTML | ( | Writer & | writer, | |
const XalanDOMString & | encoding = XalanDOMString(XalanMemMgrs::getDummyMemMgr()) , |
|||
const XalanDOMString & | mediaType = XalanDOMString(XalanMemMgrs::getDummyMemMgr()) , |
|||
const XalanDOMString & | doctypeSystem = XalanDOMString(XalanMemMgrs::getDummyMemMgr()) , |
|||
const XalanDOMString & | doctypePublic = XalanDOMString(XalanMemMgrs::getDummyMemMgr()) , |
|||
bool | doIndent = true , |
|||
int | indent = eDefaultIndentAmount , |
|||
bool | escapeURLs = true , |
|||
bool | omitMetaTag = false , |
|||
MemoryManager & | theManager = XalanMemMgrs::getDefaultXercesMemMgr() | |||
) |
Constructor for customized encoding and doctype.
writer | The character output stream to use. | |
encoding | The character encoding in use by writer. | |
doctypeSystem | The system ID for the DOCTYPE. | |
doctypePublic | The public ID for the DOCTYPE. | |
doIndent | true if indenting should be enabled | |
indent | Number of spaces to indent at each nesting level. | |
escapeURLs | Whether or not to escape URLs according to the recommendation. The default is true. | |
omitMetaTag | Whether or not to output a META TAG according to the recommendation. The default is false. |
virtual FormatterToHTML::~FormatterToHTML | ( | ) | [virtual] |
virtual void FormatterToHTML::accumCommentData | ( | const XalanDOMChar * | data | ) | [protected, virtual] |
Write the data for a comment.
data | The comment's data. |
Reimplemented from FormatterToXML.
virtual bool FormatterToHTML::accumDefaultEntity | ( | XalanDOMChar | ch, | |
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 size_type | length | |||
) | [virtual] |
Reimplemented from FormatterToXML.
virtual void FormatterToHTML::characters | ( | const XMLCh *const | chars, | |
const size_type | length | |||
) | [virtual] |
Reimplemented from FormatterToXML.
static FormatterToHTML* FormatterToHTML::create | ( | MemoryManager & | theManager, | |
Writer & | writer, | |||
const XalanDOMString & | encoding, | |||
const XalanDOMString & | mediaType, | |||
const XalanDOMString & | doctypeSystem, | |||
const XalanDOMString & | doctypePublic, | |||
bool | doIndent, | |||
int | indent, | |||
bool | escapeURLs, | |||
bool | omitMetaTag | |||
) | [static] |
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.
data | pointer to characters from the XML document |
SAXException |
Reimplemented from FormatterToXML.
bool FormatterToHTML::getEscapeURLs | ( | ) | const [inline] |
Definition at line 149 of file FormatterToHTML.hpp.
virtual void FormatterToHTML::processingInstruction | ( | const XMLCh *const | target, | |
const XMLCh *const | data | |||
) | [virtual] |
Reimplemented from FormatterToXML.
void FormatterToHTML::setEscapeURLs | ( | bool | flag | ) | [inline] |
Definition at line 155 of file FormatterToHTML.hpp.
virtual void FormatterToHTML::startDocument | ( | ) | [virtual] |
Reimplemented from FormatterToXML.
virtual void FormatterToHTML::startElement | ( | const XMLCh *const | name, | |
AttributeListType & | attrs | |||
) | [virtual] |
Reimplemented from FormatterToXML.
virtual void FormatterToHTML::writeAttrString | ( | const XalanDOMChar * | theString, | |
size_type | theStringLength | |||
) | [protected, virtual] |
Write an attribute string.
theString | The string to write. | |
theStringLength | The length of the string. |
Reimplemented from FormatterToXML.
void FormatterToHTML::writeCharacters | ( | const XalanDOMChar * | theString, | |
size_type | theLength | |||
) | [protected] |
void FormatterToHTML::writeCharacters | ( | const XalanDOMString & | theString | ) | [protected] |
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
Xalan-C++ XSLT Processor Version 1.11 |
|