Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Public Types | Public Member Functions | List of all members
XalanUTF16Writer Class Reference
Inheritance diagram for XalanUTF16Writer:
XalanFormatterWriter

Public Types

typedef XalanDOMChar value_type
- Public Types inherited from XalanFormatterWriter
typedef XalanDOMString::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 presentable, throws.
void writePIChars (const XalanDOMChar *data, size_type theLength)
 Writes name chars , if not presentable, throws.
void writeCommentChars (const XalanDOMChar *data, size_type theLength)
 Writes name chars , if not presentable, 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 ()
- Public Member Functions inherited from XalanFormatterWriter
 XalanFormatterWriter (Writer &theWriter, MemoryManager &theMemoryManager)
MemoryManagerTypegetMemoryManager ()
virtual ~XalanFormatterWriter ()
WritergetWriter () const
XalanOutputStreamgetStream ()
const XalanOutputStreamgetStream () const
void flushWriter ()

Additional Inherited Members

- Static Public Member Functions inherited from XalanFormatterWriter
static bool isUTF16HighSurrogate (XalanDOMChar theChar)
static bool isUTF16LowSurrogate (XalanDOMChar theChar)
static unsigned int decodeUTF16SurrogatePair (XalanDOMChar theHighSurrogate, XalanDOMChar theLowSurrogate, MemoryManager &theManager)
static void throwInvalidCharacterException (unsigned int ch, MemoryManager &theManager)
static void throwInvalidUTF16SurrogateException (XalanDOMChar ch, XalanDOMChar next, MemoryManagerType &theManager)
- Protected Member Functions inherited from XalanFormatterWriter
const XalanDOMStringformatNumericCharacterReference (unsigned int theNumber)
 Format a code point as a numeric character reference.
- Protected Attributes inherited from XalanFormatterWriter
Writerm_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.
XalanDOMString::size_type m_newlineStringLength
 The length of the the string of characters that represents the newline.

Member Typedef Documentation

typedef XalanDOMChar XalanUTF16Writer::value_type

Constructor & Destructor Documentation

XalanUTF16Writer::XalanUTF16Writer ( Writer writer,
MemoryManager &  theMemoryManager 
)
virtual XalanUTF16Writer::~XalanUTF16Writer ( )
virtual

Member Function Documentation

void XalanUTF16Writer::flushBuffer ( )
void XalanUTF16Writer::outputNewline ( )

Output a line break.

void XalanUTF16Writer::safeWriteContent ( const XalanDOMChar *  theChars,
size_type  theLength 
)
void XalanUTF16Writer::write ( const value_type theChars,
size_type  theLength 
)
void XalanUTF16Writer::write ( const XalanDOMString theChars)
void XalanUTF16Writer::write ( value_type  theChar)
size_type XalanUTF16Writer::write ( const value_type  chars[],
size_type  start,
size_type   
)
void XalanUTF16Writer::write ( const value_type theChars)
size_type XalanUTF16Writer::writeCDATAChar ( const XalanDOMChar  chars[],
size_type  start,
size_type  ,
bool &   
)
void XalanUTF16Writer::writeCommentChars ( const XalanDOMChar *  data,
size_type  theLength 
)

Writes name chars , if not presentable, throws.

void XalanUTF16Writer::writeNameChar ( const XalanDOMChar *  data,
size_type  theLength 
)

Writes name chars , if not presentable, throws.

void XalanUTF16Writer::writePIChars ( const XalanDOMChar *  data,
size_type  theLength 
)

Writes name chars , if not presentable, throws.

void XalanUTF16Writer::writeSafe ( const XalanDOMChar *  theChars,
size_type  theLength 
)

The documentation for this class was generated from the following file:

Interpreting class diagrams

Doxygen and GraphViz are used to generate this API documentation from the Xalan-C header files.

dot

Xalan-C++ XSLT Processor Version 1.10
Copyright © 1999-2004 The Apache Software Foundation. All Rights Reserved.

Apache Logo