FormatterToXML formats SAX-style events into XML. More...
#include <FormatterToXML.hpp>
Inheritance diagram for FormatterToXML
Collaboration diagram for FormatterToXML:
FormatterToXML formats SAX-style events into XML.
|
|
|
|
|
|
|
|
|
Reimplemented in FormatterToHTML. |
|
|
|
Constructor for customized encoding and doctype.
|
|
|
|
Write the data for a comment.
Reimplemented in FormatterToHTML. |
|
Append a string to the buffer.
|
|
Append an array of wide character to the buffer. @chars the array to append @start the offset into the array to start from @length the number of characters to append |
|
Append a null-terminated array of wide characters to the buffer. @chars the array to append |
|
Append a wide character to the buffer. Characters that are not representable in the encoding are not written as entities. @ch the character to append. |
|
Handle one of the default entities, return false if it is not a default entity.
Reimplemented in FormatterToHTML. |
|
Escape and accum a character.
|
|
Append a string to the buffer.
|
|
Append an array of wide character to the buffer. @chars the array to append @start the offset into the array to start from @length the number of characters to append |
|
Append a null-terminated array of wide characters to the buffer. @chars the array to append |
|
Append a wide character to the buffer. Characters that are not representable in the encoding are not written as entities. @ch the character to append. |
|
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).
Reimplemented from FormatterListener. Reimplemented in FormatterToHTML. |
|
Reimplemented from FormatterListener. Reimplemented in FormatterToHTML. |
|
Receive notification of character data. If available, when the disable-output-escaping attribute is used, output raw text without escaping.
Reimplemented from FormatterListener. |
|
|
|
Called when a Comment is to be constructed.
Reimplemented from FormatterListener. |
|
Reimplemented from FormatterListener. Reimplemented in FormatterToHTML. |
|
Reimplemented from FormatterListener. Reimplemented in FormatterToHTML. |
|
Receive notification of a entityReference.
Reimplemented from FormatterListener. Reimplemented in FormatterToHTML. |
|
|
|
Flush the byte buffer.
|
|
Flush the char buffer.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Reimplemented from FormatterListener. |
|
Prints a newline character and n spaces.
|
|
Set the attribute characters what will require special mapping.
|
|
Set the output characters what will require special mapping.
|
|
Perform static initialization. See class XMLSupportInit. Reimplemented from FormatterListener. Reimplemented in FormatterToHTML. |
|
|
|
|
|
Output a line break.
|
|
Reimplemented from FormatterListener. Reimplemented in FormatterToHTML. |
|
Reimplemented from FormatterListener. |
|
Reimplemented from FormatterListener. |
|
|
|
|
|
|
|
|
|
Reimplemented from FormatterListener. Reimplemented in FormatterToHTML. |
|
Reimplemented from FormatterListener. Reimplemented in FormatterToHTML. |
|
Perform static shut down. See class XMLSupportInit. Reimplemented from FormatterListener. Reimplemented in FormatterToHTML. |
|
Throw an exception when an invalid surrogate is encountered.
|
|
Throw an exception when an invalid surrogate is encountered.
|
|
Write an attribute string.
Reimplemented in FormatterToHTML. |
|
Write normalized characters to the writer.
|
|
Write a number into the buffer as an entity reference.
|
|
Check to see if a parent's ">" has been written, and, if it has not, write it.
|
|
|
|
|
|
Flag to keep track of the indent amount.
|
|
Flag to tell if indenting (pretty-printing) is on.
|
|
The public ID for the doc type.
|
|
The System ID for the doc type.
|
|
The character encoding.
|
|
Tells if we're in CData section.
|
|
Amount to indent.
|
|
Flag to quickly tell if the encoding is UTF8.
|
|
State flag to tell if preservation of whitespace is important.
|
|
State flag that tells if the previous node processed was text, so we can tell if we should preserve whitespace.
|
|
The maximum character size before we have to resort to escaping.
|
|
Flag to tell that we need to add the doctype decl, which we can't do until the first element is encountered.
|
|
Tell if the next text should be raw.
|
|
Stack to keep track of whether or not we need to preserve whitespace.
|
|
If true, XML header should be written to output.
|
|
Flag to signal that a newline should be added.
|
|
|
|
If true, cdata sections are simply stripped of their CDATA brackets, without escaping.
|
|
The writer where the XML will be written.
|
The documentation for this class was generated from the following file:
Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.
![]() |
Xalan-C++ XSL Transformer Version 1.1 |
|