Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XMLSupport/XalanUTF8Writer.hpp>
Public Types | |
typedef char | value_type |
Public Types inherited from xalanc::XalanFormatterWriter | |
typedef FormatterListener::size_type | size_type |
Public Member Functions | |
XalanUTF8Writer (Writer &writer, MemoryManager &theMemoryManager) | |
virtual | ~XalanUTF8Writer () |
void | outputNewline () |
Output a line break. | |
size_type | writeCDATAChar (const XalanDOMChar chars[], size_type start, size_type length, bool &) |
void | writeNameChar (const XalanDOMChar *data, size_type theLength) |
Writes name characters. | |
void | writePIChars (const XalanDOMChar *data, size_type theLength) |
Writes PI characters. | |
void | writeCommentChars (const XalanDOMChar *data, size_type theLength) |
Writes comment characters. | |
void | safeWriteContent (const XalanDOMChar *theChars, size_type theLength) |
void | write (const value_type *theChars, size_type theLength) |
void | write (const XalanDOMChar *theChars) |
void | write (const XalanDOMString &theChars) |
void | write (value_type theChar) |
void | write (const XalanDOMChar *theChars, size_type theLength) |
size_type | write (const XalanDOMChar chars[], size_type start, size_type length) |
void | writeSafe (const XalanDOMChar *theChars, size_type theLength) |
void | write (const value_type *theChars) |
void | flushWriter () |
void | flushBuffer () |
Public Member Functions inherited from xalanc::XalanFormatterWriter | |
XalanFormatterWriter (Writer &theWriter, MemoryManager &theMemoryManager) | |
MemoryManager & | getMemoryManager () |
virtual | ~XalanFormatterWriter () |
Writer * | getWriter () const |
XalanOutputStream * | getStream () |
const XalanOutputStream * | getStream () const |
void | flushWriter () |
void | throwUnrepresentableCharacterException (XalanUnicodeChar ch, MemoryManager &theManager) |
Additional Inherited Members | |
Static Public Member Functions inherited from xalanc::XalanFormatterWriter | |
static bool | isUTF16HighSurrogate (XalanDOMChar theChar) |
static bool | isUTF16LowSurrogate (XalanDOMChar theChar) |
static XalanUnicodeChar | decodeUTF16SurrogatePair (XalanDOMChar theHighSurrogate, XalanDOMChar theLowSurrogate, MemoryManager &theManager) |
static void | throwInvalidCharacterException (XalanUnicodeChar ch, MemoryManager &theManager) |
static void | throwInvalidUTF16SurrogateException (XalanDOMChar ch, XalanDOMChar next, MemoryManager &theManager) |
Protected Member Functions inherited from xalanc::XalanFormatterWriter | |
const XalanDOMString & | formatNumericCharacterReference (XalanUnicodeChar theChar) |
Format a code point as a numeric character reference. | |
Protected Attributes inherited from xalanc::XalanFormatterWriter | |
Writer & | m_writer |
The writer. | |
MemoryManager & | m_memoryManager |
The MemoryManager instance to use for any dynamically- allocated memory. | |
XalanDOMString | m_stringBuffer |
const XalanDOMChar * | m_newlineString |
The string of characters that represents the newline. | |
size_type | m_newlineStringLength |
The length of the the string of characters that represents the newline. |
Definition at line 110 of file XalanUTF8Writer.hpp.
typedef char xalanc::XalanUTF8Writer::value_type |
Definition at line 114 of file XalanUTF8Writer.hpp.
xalanc::XalanUTF8Writer::XalanUTF8Writer | ( | Writer & | writer, |
MemoryManager & | theMemoryManager ) |
|
inlinevirtual |
Definition at line 122 of file XalanUTF8Writer.hpp.
|
inline |
Definition at line 375 of file XalanUTF8Writer.hpp.
References xalanc::XalanFormatterWriter::m_writer.
|
inline |
Definition at line 369 of file XalanUTF8Writer.hpp.
References xalanc::XalanFormatterWriter::m_writer.
|
inline |
Output a line break.
Definition at line 130 of file XalanUTF8Writer.hpp.
References xalanc::length(), xalanc::XalanFormatterWriter::m_newlineString, xalanc::XalanFormatterWriter::m_newlineStringLength, and write().
|
inline |
Definition at line 189 of file XalanUTF8Writer.hpp.
References write().
|
inline |
Definition at line 363 of file XalanUTF8Writer.hpp.
References xalanc::XalanDOMString::length(), and write().
|
inline |
Definition at line 200 of file XalanUTF8Writer.hpp.
References flushBuffer(), xalanc::XalanFormatterWriter::m_writer, and write().
Referenced by outputNewline(), safeWriteContent(), write(), write(), write(), write(), write(), write(), writeCDATAChar(), writeCommentChars(), writeNameChar(), writePIChars(), and writeSafe().
|
inline |
Definition at line 236 of file XalanUTF8Writer.hpp.
References xalanc::XalanDOMString::length(), and write().
|
inline |
Definition at line 264 of file XalanUTF8Writer.hpp.
References xalanc::XalanFormatterWriter::decodeUTF16SurrogatePair(), xalanc::XalanFormatterWriter::getMemoryManager(), xalanc::XalanFormatterWriter::isUTF16HighSurrogate(), xalanc::XalanFormatterWriter::throwInvalidUTF16SurrogateException(), and write().
|
inline |
Definition at line 295 of file XalanUTF8Writer.hpp.
References xalanc::XalanFormatterWriter::decodeUTF16SurrogatePair(), xalanc::XalanFormatterWriter::getMemoryManager(), xalanc::XalanFormatterWriter::isUTF16HighSurrogate(), xalanc::length(), xalanc::XalanFormatterWriter::throwInvalidUTF16SurrogateException(), and write().
|
inline |
Definition at line 242 of file XalanUTF8Writer.hpp.
References xalanc::XalanDOMString::c_str(), xalanc::XalanDOMString::length(), and write().
|
inline |
Definition at line 248 of file XalanUTF8Writer.hpp.
References flushBuffer().
|
inline |
Definition at line 141 of file XalanUTF8Writer.hpp.
References xalanc::length(), and write().
|
inline |
Writes comment characters.
If characters that are not representable are encountered, an exception is thrown.
Definition at line 181 of file XalanUTF8Writer.hpp.
References write().
|
inline |
Writes name characters.
If characters that are not representable are encountered, an exception is thrown.
Definition at line 157 of file XalanUTF8Writer.hpp.
References write().
|
inline |
Writes PI characters.
If characters that are not representable are encountered, an exception is thrown.
Definition at line 169 of file XalanUTF8Writer.hpp.
References write().
|
inline |
Definition at line 326 of file XalanUTF8Writer.hpp.
References xalanc::XalanFormatterWriter::decodeUTF16SurrogatePair(), xalanc::XalanFormatterWriter::getMemoryManager(), xalanc::XalanFormatterWriter::isUTF16HighSurrogate(), xalanc::XalanFormatterWriter::throwInvalidUTF16SurrogateException(), and write().
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on for Xalan-C++ API Reference by