Xalan-C++ API Documentation

The Xalan-C++ XSL Transformer Version 1.0

Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

XalanTranscodingServices Class Reference

#include <XalanTranscodingServices.hpp>

List of all members.

Public Types

Public Methods

Static Public Methods


Detailed Description


Member Typedef Documentation

typedef unsigned char XalanTranscodingServices::XalanXMLByte

typedef std::vector<XalanXMLByte> XalanTranscodingServices::XalanXMLByteVectorType


Member Enumeration Documentation

enum XalanTranscodingServices::eCode

Enumeration values:
OK  
UnsupportedEncoding  
InternalFailure  
SupportFilesNotFound  

Member Function Documentation

void XalanTranscodingServices::destroyTranscoder ( XalanOutputTranscoder * theTranscoder) [static]

Destroy a transcoder instance.

@theTranscoder The transcoder to destroy.

bool XalanTranscodingServices::encodingIsUTF16 ( const XalanDOMString & theEncodingName) [static]

Determine if the encoding name supplied is equuvalent to UTF-16.

Parameters:
theEncodingName   The name of the desired output encoding.
Returns:
true or false

bool XalanTranscodingServices::encodingIsUTF16 ( const XalanDOMChar * theEncodingName) [static]

Determine if the encoding name supplied is equuvalent to UTF-16.

Parameters:
theEncodingName   The name of the desired output encoding.
Returns:
true or false

const XalanXMLByteVectorType & XalanTranscodingServices::getStreamProlog ( const XalanDOMString & theEncodingName) [static]

Get a vector that contains any leading bytes that should be written to an XML stream for the specified encoding.

For example, if the encoding is UTF-16, the vector will contain the appropriate byte order mark for the current platform. If there is no prolog for the encoding, or the encoding is unknown, an empty vector is returned.

Parameters:
theEncodingName   The name of the desired output encoding.
Returns:
A reference to a vector containing the appropriate bytes.

void XalanTranscodingServices::initialize () [static]

Perform static initialization.

See class PlatformSupportInit.

XalanOutputTranscoder * XalanTranscodingServices::makeNewTranscoder ( const XalanDOMString & theEncodingName,
eCode & theResult,
unsigned int theBlockSize) [static]

Create a transcoder instance for the specified encoding.

Parameters:
theEncodingName   The name of the desired output encoding.
theResult   The error code.
theTarget   The target array for storing the transcoded data.
theBlockSize   The block size the transcoder should use.
Returns:
The new transcoder, or 0 if there was an error.

void XalanTranscodingServices::terminate () [static]

Perform static shut down.

See class PlatformSupportInit.


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.

Xalan-C++ XSL Transformer Version 1.0
Copyright © 2000 The Apache Software Foundation. All Rights Reserved.