formats SAX-style events into XML. More...
Inheritance diagram for FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >:
formats SAX-style events into XML.
typedef UnicodeWriter::value_type FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::value_type |
anonymous enum |
FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::FormatterToXMLUnicode | ( | MemoryManager & | theManager, | |
Writer & | writer, | |||
const XalanDOMString & | encoding, | |||
const XalanDOMString & | doctypeSystem = s_emptyString , |
|||
const XalanDOMString & | doctypePublic = s_emptyString , |
|||
bool | xmlDecl = true , |
|||
const XalanDOMString & | standalone = s_emptyString , |
|||
size_type | indent = eDefaultIndentAmount | |||
) |
Constructor.
theManager | The MemoryManager instance to use for all memory allocations | |
writer | the writer. | |
version | the string to write for the XML version number. | |
doctypeSystem | system identifier to be used in the document type declaration | |
doctypePublic | public identifier to be used in the document type declaration | |
xmlDecl | true if the XSLT processor should output an XML declaration | |
standalone | The string the XSLT processor should output for the standalone document declaration |
virtual FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::~FormatterToXMLUnicode | ( | ) | [virtual] |
static FormatterToXMLUnicode* FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::create | ( | MemoryManagerType & | theManager, | |
Writer & | writer, | |||
const XalanDOMString & | encoding, | |||
const XalanDOMString & | doctypeSystem = s_emptyString , |
|||
const XalanDOMString & | doctypePublic = s_emptyString , |
|||
bool | xmlDecl = true , |
|||
const XalanDOMString & | standalone = s_emptyString , |
|||
size_type | indent = eDefaultIndentAmount | |||
) | [static] |
Writer* FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::getWriter | ( | ) | const [virtual] |
Reimplemented from FormatterListener.
virtual void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::endDocument | ( | ) | [virtual] |
Implements FormatterListener.
virtual void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::startElement | ( | const XMLCh *const | name, | |
AttributeList & | attrs | |||
) | [virtual] |
Implements XalanXMLSerializerBase.
virtual void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::endElement | ( | const XMLCh *const | name | ) | [virtual] |
Implements XalanXMLSerializerBase.
virtual void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::charactersRaw | ( | const XMLCh *const | chars, | |
const unsigned int | length | |||
) | [virtual] |
Receive notification of character data.
If available, when the disable-output-escaping attribute is used, output raw text without escaping.
chars | pointer to characters from the XML document | |
length | number of characters to read from the array |
SAXException |
Implements XalanXMLSerializerBase.
virtual void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::entityReference | ( | const XMLCh *const | name | ) | [virtual] |
Receive notification of a entityReference.
data | pointer to characters from the XML document |
SAXException |
Implements XalanXMLSerializerBase.
virtual void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::comment | ( | const XMLCh *const | data | ) | [virtual] |
Called when a Comment is to be constructed.
data | pointer to comment data |
SAXException |
Implements XalanXMLSerializerBase.
virtual const XalanDOMString& FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::getEncoding | ( | ) | const [virtual] |
Implements XalanXMLSerializerBase.
virtual void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::flushBuffer | ( | ) | [protected, virtual] |
Implements XalanXMLSerializerBase.
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeXMLHeader | ( | ) | [protected, virtual] |
Implements XalanXMLSerializerBase.
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeDoctypeDecl | ( | const XalanDOMChar * | name | ) | [protected, virtual] |
Implements XalanXMLSerializerBase.
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeProcessingInstruction | ( | const XMLCh * | target, | |
const XMLCh * | data | |||
) | [protected, virtual] |
Implements XalanXMLSerializerBase.
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeCharacters | ( | const XMLCh * | chars, | |
unsigned int | length | |||
) | [protected, virtual] |
Implements XalanXMLSerializerBase.
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeCDATA | ( | const XMLCh * | chars, | |
unsigned int | length | |||
) | [protected, virtual] |
Implements XalanXMLSerializerBase.
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::outputNewline | ( | ) | [protected, virtual] |
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeDefaultEscape | ( | XalanDOMChar | ch | ) | [protected] |
Escape and write a character.
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeDefaultAttributeEscape | ( | XalanDOMChar | ch | ) | [protected] |
Escape and write a character in an attribute.
bool FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeDefaultEntity | ( | XalanDOMChar | ch | ) | [protected] |
Handle one of the default entities, return false if it is not a default entity.
bool FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeDefaultAttributeEntity | ( | XalanDOMChar | ch | ) | [protected] |
Handle one of the default entities, return false if it is not a default entity.
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeParentTagEnd | ( | ) | [protected] |
Check to see if a parent's ">" has been written, and, if it has not, write it.
XalanDOMString::size_type FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeNormalizedChar | ( | XalanDOMChar | ch, | |
const XalanDOMChar | chars[], | |||
XalanDOMString::size_type | start, | |||
XalanDOMString::size_type | length | |||
) | [protected] |
Write a normalized character to the stream.
ch | the string to write. | |
start | the start offset into the string. | |
length | the length of the string. |
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeNumericCharacterReference | ( | unsigned long | theNumber | ) | [protected] |
XalanDOMString::size_type FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeNormalizedCharBig | ( | const XalanDOMChar | chars[], | |
XalanDOMString::size_type | start, | |||
XalanDOMString::size_type | length | |||
) | [protected] |
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeCDATAChars | ( | const XalanDOMChar | chars[], | |
XalanDOMString::size_type | length, | |||
bool & | outsideCDATA | |||
) | [protected] |
Write characters for a CDATA section.
ch | the string to write. | |
length | the length of the string. |
void FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::writeAttrString | ( | const XalanDOMChar * | theString, | |
XalanDOMString::size_type | theStringLength | |||
) | [protected] |
Write an attribute string.
theString | The string to write. | |
theStringLength | The length of the string. |
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++ XSLT Processor Version 1.10 |
|