Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XMLSupport/XalanUTF16Writer.hpp>
Public Types | |
typedef XalanDOMChar | value_type |
![]() | |
typedef FormatterListener::size_type | size_type |
Public Member Functions | |
XalanUTF16Writer (Writer &writer, MemoryManager &theMemoryManager) | |
virtual | ~XalanUTF16Writer () |
void | outputNewline () |
Output a line break. | |
size_type | writeCDATAChar (const XalanDOMChar chars[], size_type start, size_type, bool &) |
void | writeNameChar (const XalanDOMChar *data, size_type theLength) |
Writes name chars, if not representable, throws. | |
void | writePIChars (const XalanDOMChar *data, size_type theLength) |
Writes name chars, if not representable, throws. | |
void | writeCommentChars (const XalanDOMChar *data, size_type theLength) |
Writes name chars, if not representable, throws. | |
void | safeWriteContent (const XalanDOMChar *theChars, size_type theLength) |
void | write (const value_type *theChars, size_type theLength) |
void | write (const XalanDOMString &theChars) |
void | write (value_type theChar) |
size_type | write (const value_type chars[], size_type start, size_type) |
void | writeSafe (const XalanDOMChar *theChars, size_type theLength) |
void | write (const value_type *theChars) |
void | flushBuffer () |
![]() | |
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 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) |
![]() | |
const XalanDOMString & | formatNumericCharacterReference (XalanUnicodeChar theChar) |
Format a code point as a numeric character reference. | |
![]() | |
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 28 of file XalanUTF16Writer.hpp.
typedef XalanDOMChar xalanc::XalanUTF16Writer::value_type |
Definition at line 32 of file XalanUTF16Writer.hpp.
xalanc::XalanUTF16Writer::XalanUTF16Writer | ( | Writer & | writer, |
MemoryManager & | theMemoryManager ) |
|
inlinevirtual |
Definition at line 40 of file XalanUTF16Writer.hpp.
|
inline |
Definition at line 192 of file XalanUTF16Writer.hpp.
References xalanc::XalanFormatterWriter::m_writer.
|
inline |
Output a line break.
Definition at line 48 of file XalanUTF16Writer.hpp.
References xalanc::length(), xalanc::XalanFormatterWriter::m_newlineString, xalanc::XalanFormatterWriter::m_newlineStringLength, and write().
|
inline |
Definition at line 107 of file XalanUTF16Writer.hpp.
References write().
|
inline |
Definition at line 186 of file XalanUTF16Writer.hpp.
References xalanc::XalanDOMString::length(), and write().
|
inline |
Definition at line 115 of file XalanUTF16Writer.hpp.
References flushBuffer(), and xalanc::XalanFormatterWriter::m_writer.
Referenced by outputNewline(), safeWriteContent(), write(), write(), write(), writeCDATAChar(), writeCommentChars(), writeNameChar(), writePIChars(), and writeSafe().
|
inline |
Definition at line 167 of file XalanUTF16Writer.hpp.
References write().
|
inline |
Definition at line 145 of file XalanUTF16Writer.hpp.
References xalanc::XalanDOMString::c_str(), xalanc::XalanDOMString::length(), and write().
|
inline |
Definition at line 151 of file XalanUTF16Writer.hpp.
References flushBuffer().
|
inline |
Definition at line 60 of file XalanUTF16Writer.hpp.
References write().
|
inline |
Writes name chars, if not representable, throws.
Definition at line 99 of file XalanUTF16Writer.hpp.
References write().
|
inline |
Writes name chars, if not representable, throws.
Definition at line 77 of file XalanUTF16Writer.hpp.
References write().
|
inline |
Writes name chars, if not representable, throws.
Definition at line 88 of file XalanUTF16Writer.hpp.
References write().
|
inline |
Definition at line 178 of file XalanUTF16Writer.hpp.
References write().
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on Sat May 17 2025 11:34:30 for Xalan-C++ API Reference by