Xalan-C++ API Documentation

The Xalan C++ XSLT Processor Version 1.10

Macros | Typedefs
XalanTransformerDefinitions.hpp File Reference

Go to the source code of this file.

Macros

#define XALAN_TRANSFORMER_EXPORT   XALAN_PLATFORM_IMPORT
#define XALAN_TRANSFORMER_EXPORT_FUNCTION(T)   XALAN_PLATFORM_IMPORT_FUNCTION(T)

Typedefs

typedef size_t CallbackSizeType
typedef CallbackSizeType(* XalanOutputHandlerType )(const char *, CallbackSizeType, void *)
 Callback function passed to the XalanTransformer APIs.
typedef void(* XalanFlushHandlerType )(void *)
 Callback function passed to the XalanTransformer APIs.

Macro Definition Documentation

#define XALAN_TRANSFORMER_EXPORT   XALAN_PLATFORM_IMPORT
#define XALAN_TRANSFORMER_EXPORT_FUNCTION (   T)    XALAN_PLATFORM_IMPORT_FUNCTION(T)

Typedef Documentation

typedef size_t CallbackSizeType
typedef void(* XalanFlushHandlerType)(void *)

Callback function passed to the XalanTransformer APIs.

Used to flush the buffer once transform is completed.

static void xalanFlushHandler(const void *handle);

Parameters
handlehandle of XalanTransformer instance.
typedef CallbackSizeType(* XalanOutputHandlerType)(const char *, CallbackSizeType, void *)

Callback function passed to the XalanTransformer APIs.

Used to process transformation output in blocks of data. Caller is responsible for streaming or copying data to a user allocated buffer. Caller should not attempt to write to or free this data.

The callback should return the number of bytes written, and this number should match the length received. Otherwise the XalanTransformToHandler function terminates and returns an error status.

static unsigned long xalanOutputHandler(const void* data, unsigned long length, const void *handle);

Parameters
dataa block of data
lengthlength of block
handlehandle of XalanTransformer instance.
Returns
number of bytes written

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