|
Xalan-C++ API Reference
1.12.0
|
Go to the documentation of this file.
18 #if !defined(XALANUTF16WRITER_HEADER_GUARD_1357924680)
19 #define XALANUTF16WRITER_HEADER_GUARD_1357924680
37 MemoryManager& theMemoryManager);
50 assert(m_newlineString != 0);
51 assert(
length(m_newlineString) == m_newlineStringLength);
55 m_newlineStringLength);
61 const XalanDOMChar chars[],
78 const XalanDOMChar* data,
81 write(data, theLength);
89 const XalanDOMChar* data,
92 write(data, theLength);
100 const XalanDOMChar* data,
103 write(data, theLength);
108 const XalanDOMChar* theChars,
111 write(theChars, theLength);
119 if (theLength > kBufferSize)
123 m_writer.write(theChars, 0, theLength);
127 if (m_bufferRemaining < theLength)
134 *m_bufferPosition = theChars[i];
139 m_bufferRemaining -= theLength;
154 if (m_bufferRemaining == 0)
159 *m_bufferPosition = theChar;
179 const XalanDOMChar* theChars,
182 write(theChars, theLength);
197 m_bufferPosition - m_buffer);
200 m_bufferPosition = m_buffer;
201 m_bufferRemaining = kBufferSize;
214 value_type m_buffer[kBufferSize];
216 value_type* m_bufferPosition;
227 #endif // XALANUTF16WRITER_HEADER_GUARD_1357924680
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.
#define XALAN_CPP_NAMESPACE
Xalan-C++ namespace, including major and minor version.
void writeSafe(const XalanDOMChar *theChars, size_type theLength)
size_type write(const value_type chars[], size_type start, size_type)
void outputNewline()
Output a line break.
virtual ~XalanUTF16Writer()
XalanDOMString::size_type length(const XalanDOMString &theString)
Get the length of a XalanDOMString.
void write(const XalanDOMString &theChars)
void write(value_type theChar)
void write(const value_type *theChars, size_type theLength)
void safeWriteContent(const XalanDOMChar *theChars, size_type theLength)
const XalanDOMChar * c_str() const
size_type writeCDATAChar(const XalanDOMChar chars[], size_type start, size_type, bool &)
void write(const value_type *theChars)