Xalan-C++ API Reference 1.12.0
|
FormatterToXMLUnicode formats SAX-style events into XML. More...
#include <xalanc/XMLSupport/FormatterToXMLUnicode.hpp>
Public Types | |
enum | { eDefaultIndentAmount = 0 } |
typedef UnicodeWriter::value_type | value_type |
![]() | |
enum | { eBufferSize = 512 } |
enum | { eNone = 0u , eAttr = 1u , eBoth = 2u , eForb = 4u , eCRFb = 5u } |
typedef XalanVector< bool > | BoolStackType |
![]() | |
enum | eFormat { OUTPUT_METHOD_NONE = 0 , OUTPUT_METHOD_XML = 1 , OUTPUT_METHOD_HTML = 2 , OUTPUT_METHOD_TEXT = 3 , OUTPUT_METHOD_DOM = 4 , OUTPUT_METHOD_OTHER = 5 } |
enum | eXMLVersion { XML_VERSION_1_0 = 0 , XML_VERSION_1_1 = 1 } |
typedef xercesc::DocumentHandler | ParentType |
typedef XalanSize_t | size_type |
Static Public Member Functions | |
static FormatterToXMLUnicode * | create (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) |
![]() | |
static void | initialize (MemoryManager &theManager) |
Perform static initialization. | |
static void | terminate () |
Perform static shut down. | |
FormatterToXMLUnicode formats SAX-style events into XML.
Definition at line 57 of file FormatterToXMLUnicode.hpp.
typedef UnicodeWriter::value_type xalanc::FormatterToXMLUnicode< UnicodeWriter, ConstantsType, CharPredicate, IndentHandler, XMLVersion >::value_type |
Definition at line 61 of file FormatterToXMLUnicode.hpp.
anonymous enum |
Enumerator | |
---|---|
eDefaultIndentAmount |
Definition at line 63 of file FormatterToXMLUnicode.hpp.
|
inline |
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 |
Definition at line 84 of file FormatterToXMLUnicode.hpp.
|
inlinevirtual |
Definition at line 142 of file FormatterToXMLUnicode.hpp.
|
inlinevirtual |
Implements xalanc::XalanXMLSerializerBase.
Definition at line 237 of file FormatterToXMLUnicode.hpp.
References xalanc::length().
|
inlinevirtual |
Called when a Comment is to be constructed.
data | pointer to comment data |
SAXException |
Implements xalanc::XalanXMLSerializerBase.
Definition at line 264 of file FormatterToXMLUnicode.hpp.
|
inlinestatic |
Definition at line 110 of file FormatterToXMLUnicode.hpp.
References xalanc::XalanMemMgrAutoPtr< Type >::get(), and xalanc::XalanMemMgrAutoPtr< Type >::release().
|
inlinevirtual |
Implements xalanc::FormatterListener.
Definition at line 155 of file FormatterToXMLUnicode.hpp.
|
inlinevirtual |
Implements xalanc::XalanXMLSerializerBase.
Definition at line 201 of file FormatterToXMLUnicode.hpp.
|
inlinevirtual |
Receive notification of a entityReference.
data | pointer to characters from the XML document |
SAXException |
Implements xalanc::XalanXMLSerializerBase.
Definition at line 250 of file FormatterToXMLUnicode.hpp.
|
inlineprotectedvirtual |
Implements xalanc::XalanXMLSerializerBase.
Definition at line 287 of file FormatterToXMLUnicode.hpp.
|
inlineprotectedvirtual |
Definition at line 293 of file FormatterToXMLUnicode.hpp.
|
inlinevirtual |
Reimplemented from xalanc::FormatterListener.
Definition at line 147 of file FormatterToXMLUnicode.hpp.
|
inlineprotectedvirtual |
Output a line break.
Implements xalanc::XalanXMLSerializerBase.
Definition at line 495 of file FormatterToXMLUnicode.hpp.
|
inlinevirtual |
Implements xalanc::XalanXMLSerializerBase.
Definition at line 167 of file FormatterToXMLUnicode.hpp.
|
inlineprotected |
Write an attribute string.
theString | The string to write. |
theStringLength | The length of the string. |
Definition at line 793 of file FormatterToXMLUnicode.hpp.
|
inlineprotectedvirtual |
Implements xalanc::XalanXMLSerializerBase.
Definition at line 463 of file FormatterToXMLUnicode.hpp.
References xalanc::length().
|
inlineprotected |
Write characters for a CDATA section.
ch | the string to write. |
length | the length of the string. |
Definition at line 710 of file FormatterToXMLUnicode.hpp.
References xalanc::length().
|
inlineprotectedvirtual |
Implements xalanc::XalanXMLSerializerBase.
Definition at line 413 of file FormatterToXMLUnicode.hpp.
References xalanc::length().
|
inlineprotected |
Handle one of the default entities, return false if it is not a default entity.
Definition at line 594 of file FormatterToXMLUnicode.hpp.
|
inlineprotected |
Escape and write a character in an attribute.
Definition at line 535 of file FormatterToXMLUnicode.hpp.
|
inlineprotected |
Handle one of the default entities, return false if it is not a default entity.
Definition at line 561 of file FormatterToXMLUnicode.hpp.
|
inlineprotected |
Escape and write a character.
Definition at line 504 of file FormatterToXMLUnicode.hpp.
|
inlineprotectedvirtual |
Implements xalanc::XalanXMLSerializerBase.
Definition at line 345 of file FormatterToXMLUnicode.hpp.
|
inlineprotected |
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. |
Definition at line 638 of file FormatterToXMLUnicode.hpp.
References xalanc::length().
|
inlineprotected |
Definition at line 679 of file FormatterToXMLUnicode.hpp.
References xalanc::length().
|
inlineprotected |
Definition at line 667 of file FormatterToXMLUnicode.hpp.
References xalanc::NumberToDOMString().
|
inlineprotected |
Check to see if a parent's ">" has been written, and, if it has not, write it.
Definition at line 619 of file FormatterToXMLUnicode.hpp.
|
inlineprotectedvirtual |
Implements xalanc::XalanXMLSerializerBase.
Definition at line 385 of file FormatterToXMLUnicode.hpp.
References xalanc::isXMLWhitespace(), and xalanc::length().
|
inlineprotectedvirtual |
Implements xalanc::XalanXMLSerializerBase.
Definition at line 299 of file FormatterToXMLUnicode.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Mon Feb 5 2024 20:50:04 for Xalan-C++ API Reference by