16 #if !defined(XALANOUTPUTSTREAM_HEADER_GUARD_1357924680)
17 #define XALANOUTPUTSTREAM_HEADER_GUARD_1357924680
39 XALAN_CPP_NAMESPACE_BEGIN
51 enum { eDefaultBufferSize = 512u, eDefaultTranscoderBlockSize = 1024u };
68 size_type theBufferSize = eDefaultBufferSize,
69 size_type theTranscoderBlockSize = eDefaultTranscoderBlockSize,
70 bool fThrowTranscodeException =
true);
78 return m_buffer.getMemoryManager();
81 static const XalanDOMChar*
84 #if defined(XALAN_NEWLINE_IS_CRLF)
100 virtual const XalanDOMChar*
101 getNewlineString()
const;
143 assert(m_bufferSize > 0);
145 if (m_buffer.size() == m_bufferSize)
150 m_buffer.push_back(theChar);
163 assert(theBuffer != 0);
164 assert(m_buffer.empty() ==
true);
166 write(theBuffer,
length(theBuffer));
176 write(
const XalanDOMChar* theBuffer)
178 write(theBuffer,
length(theBuffer));
191 const char* theBuffer,
194 assert(theBuffer != 0);
195 assert(m_buffer.empty() ==
true);
210 const XalanDOMChar* theBuffer,
239 canTranscodeTo(UnicodeCharType theChar)
const;
260 return m_throwTranscodeException;
275 m_throwTranscodeException = flag;
303 virtual const XalanDOMChar*
310 static const XalanDOMChar m_type[];
324 virtual const XalanDOMChar*
331 static const XalanDOMChar m_type[];
344 m_encoding(other.getEncoding(),(const_cast<
XalanDOMString*>(&(other.m_encoding)))->getMemoryManager())
358 virtual const XalanDOMChar*
365 static const XalanDOMChar m_type[];
379 m_encoding(other.getEncoding(),(const_cast<
XalanDOMString*>(&(other.m_encoding)))->getMemoryManager())
424 const XalanDOMChar* theBuffer,
426 TranscodeVectorType& theDestination);
436 const char* theBuffer,
445 static const XalanDOMChar s_nlString[];
446 static const XalanDOMChar s_nlCRString[];
464 const XalanDOMChar* theBuffer,
480 bool m_throwTranscodeException;
487 XALAN_CPP_NAMESPACE_END
491 #endif // XALANOUTPUTSTREAM_HEADER_GUARD_1357924680