Xalan-C++ API Reference 1.12.0
|
#include <xalanc/XMLSupport/XalanOtherEncodingWriter.hpp>
Classes | |
class | ThrowTranscodingException |
class | WriteCharRef |
Public Types | |
typedef XalanOtherEncodingWriter< Predicate, ConstantsType > | ThisType |
typedef XalanDOMChar | value_type |
Public Types inherited from xalanc::XalanFormatterWriter | |
typedef FormatterListener::size_type | size_type |
Public Member Functions | |
XalanOtherEncodingWriter (Writer &writer, MemoryManager &theMemoryManager) | |
virtual | ~XalanOtherEncodingWriter () |
void | outputNewline () |
Output a line break. | |
size_type | writeCDATAChar (const XalanDOMChar chars[], size_type start, size_type length, bool &outsideCDATA) |
Writes CDATA chars , if not presentable, fixes it with addition CDATA sections. | |
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 | write (const XalanDOMChar *theChars, size_type theLength) |
void | write (const XalanDOMString &theChars) |
void | write (XalanDOMChar theChar) |
Writes writes a UTF-16 code unit that isn't part of the surrogate pair. | |
size_type | write (const XalanDOMChar chars[], size_type start, size_type length) |
void | write (const XalanDOMChar *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) |
Friends | |
class | WriteCharRef |
class | ThrowTranscodingException |
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 33 of file XalanOtherEncodingWriter.hpp.
typedef XalanOtherEncodingWriter<Predicate, ConstantsType> xalanc::XalanOtherEncodingWriter< Predicate, ConstantsType >::ThisType |
Definition at line 37 of file XalanOtherEncodingWriter.hpp.
typedef XalanDOMChar xalanc::XalanOtherEncodingWriter< Predicate, ConstantsType >::value_type |
Definition at line 84 of file XalanOtherEncodingWriter.hpp.
|
inline |
Definition at line 86 of file XalanOtherEncodingWriter.hpp.
References xalanc::XalanFormatterWriter::getStream(), and xalanc::XalanFormatterWriter::XalanFormatterWriter().
|
inlinevirtual |
Definition at line 103 of file XalanOtherEncodingWriter.hpp.
|
inline |
Definition at line 317 of file XalanOtherEncodingWriter.hpp.
References xalanc::XalanFormatterWriter::m_writer.
Referenced by write().
|
inline |
Definition at line 311 of file XalanOtherEncodingWriter.hpp.
References xalanc::XalanFormatterWriter::m_writer.
|
inline |
Output a line break.
Definition at line 111 of file XalanOtherEncodingWriter.hpp.
References xalanc::length(), xalanc::XalanFormatterWriter::m_newlineString, xalanc::XalanFormatterWriter::m_newlineStringLength, and write().
|
inline |
Definition at line 305 of file XalanOtherEncodingWriter.hpp.
References xalanc::XalanDOMString::length(), and write().
|
inline |
Definition at line 249 of file XalanOtherEncodingWriter.hpp.
References write().
Referenced by outputNewline(), write(), write(), write(), write(), writeCDATAChar(), writeCommentChars(), writeNameChar(), and writePIChars().
|
inline |
Definition at line 295 of file XalanOtherEncodingWriter.hpp.
References xalanc::length(), and write().
|
inline |
Definition at line 260 of file XalanOtherEncodingWriter.hpp.
References xalanc::XalanDOMString::c_str(), xalanc::XalanDOMString::length(), and write().
|
inline |
Writes writes a UTF-16 code unit that isn't part of the surrogate pair.
Definition at line 270 of file XalanOtherEncodingWriter.hpp.
References flushBuffer(), xalanc::XalanFormatterWriter::isUTF16HighSurrogate(), and xalanc::XalanFormatterWriter::isUTF16LowSurrogate().
|
inline |
Writes CDATA chars , if not presentable, fixes it with addition CDATA sections.
Definition at line 126 of file XalanOtherEncodingWriter.hpp.
References xalanc::XalanFormatterWriter::decodeUTF16SurrogatePair(), xalanc::XalanFormatterWriter::getMemoryManager(), xalanc::XalanFormatterWriter::isUTF16HighSurrogate(), xalanc::length(), xalanc::XalanFormatterWriter::throwInvalidUTF16SurrogateException(), and write().
|
inline |
Writes comment characters.
If a character is not representable, or must be written as a character reference for compatibility with XML 1.1, an exception is thrown.
Definition at line 238 of file XalanOtherEncodingWriter.hpp.
References write().
|
inline |
Writes name characters.
If a character is not representable, an exception is thrown.
Definition at line 207 of file XalanOtherEncodingWriter.hpp.
References write().
|
inline |
Writes PI characters.
If a character is not representable, an exception is thrown.
Definition at line 222 of file XalanOtherEncodingWriter.hpp.
References write().
|
friend |
Definition at line 82 of file XalanOtherEncodingWriter.hpp.
|
friend |
Definition at line 81 of file XalanOtherEncodingWriter.hpp.
Copyright © 1999-2020 The Apache Software Foundation. All Rights Reserved.
Generated on for Xalan-C++ API Reference by