FDO API Reference Feature Data Objects
Main Page | Modules | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

FdoXslTransformerXalan Class Reference

#include <TransformerXalan.h>

Inherits FdoXslTransformer.

Inheritance diagram for FdoXslTransformerXalan:

[legend]
List of all members.

Detailed Description

DOXYGEN-IGNORE

Definition at line 34 of file TransformerXalan.h.


Public Member Functions

virtual void problem (eProblemSource where, eClassification classification, const XALAN_CPP_NAMESPACE::XalanNode *sourceNode, const XALAN_CPP_NAMESPACE::ElemTemplateElement *styleNode, const XALAN_CPP_NAMESPACE::XalanDOMString &msg, const XALAN_CPP_NAMESPACE::XalanDOMChar *uri, int lineNo, int charOffset)
virtual void setPrintWriter (XALAN_CPP_NAMESPACE::PrintWriter *pw)
 Implementation of XALAN_CPP_NAMESPACE::ProblemListener interface:.
virtual void Transform ()
 Performs the transformation.

Static Public Member Functions

FdoXslTransformerXalanCreate (FdoXmlReader *inDoc=NULL, FdoXmlReader *stylesheet=NULL, FdoXmlWriter *outDoc=NULL, FdoIoTextWriter *log=NULL)
 Constructs an XSL Transformer object.
void Initialize ()

Protected Member Functions

 FdoXslTransformerXalan (FdoXmlReader *inDoc=NULL, FdoXmlReader *stylesheet=NULL, FdoXmlWriter *outDoc=NULL, FdoIoTextWriter *log=NULL)
unsigned long HandleOutput (const void *data, unsigned long length)
FdoStringP XalanDomStringToUnicode (const XALAN_CPP_NAMESPACE::XalanDOMString &xalanDomString)
 Convert a XalanDOMString to a FdoStringP string:.
FdoStringP XalanNodeToUnicode (const XALAN_CPP_NAMESPACE::XalanNode *inNode)
 Convert a XalanNode to a FdoStringP string:.
virtual ~FdoXslTransformerXalan (void)

Static Protected Member Functions

void flushHandler (const void *handle)
 Handles output flush requests from Xalan.
CallbackSizeType outputHandler (const void *data, CallbackSizeType length, const void *handle)

Constructor & Destructor Documentation

FdoXslTransformerXalan::FdoXslTransformerXalan FdoXmlReader inDoc = NULL,
FdoXmlReader stylesheet = NULL,
FdoXmlWriter outDoc = NULL,
FdoIoTextWriter log = NULL
[protected]
 

virtual FdoXslTransformerXalan::~FdoXslTransformerXalan void   )  [inline, protected, virtual]
 

Definition at line 119 of file TransformerXalan.h.


Member Function Documentation

FdoXslTransformerXalan* FdoXslTransformerXalan::Create FdoXmlReader inDoc = NULL,
FdoXmlReader stylesheet = NULL,
FdoXmlWriter outDoc = NULL,
FdoIoTextWriter log = NULL
[static]
 

Constructs an XSL Transformer object.

Parameters:
inDoc Input the XML document to transform.
stylesheet Input the XSL stylesheet with transformation instructions.
outDoc Output the transformed XML document.
Warning:
The transformed document is not completely written until 'outDoc' and this transformer are destroyed by releasing all references to them. Therefore, these objects must be destroyed before reading back the transformed document.
Parameters:
log Input the logging object which captures messages and warnings.
Returns:
Returns FdoXslTransformer

Reimplemented from FdoXslTransformer.

void FdoXslTransformerXalan::flushHandler const void *  handle  )  [static, protected]
 

Handles output flush requests from Xalan.

unsigned long FdoXslTransformerXalan::HandleOutput const void *  data,
unsigned long  length
[protected]
 

Output handler callback implementation. Writes the data to the out document

void FdoXslTransformerXalan::Initialize  )  [static]
 

CallbackSizeType FdoXslTransformerXalan::outputHandler const void *  data,
CallbackSizeType  length,
const void *  handle
[static, protected]
 

Output handler callback implementation. Forwards the data to this transformer, which is passed in through the handle parameter.

virtual void FdoXslTransformerXalan::problem eProblemSource  where,
eClassification  classification,
const XALAN_CPP_NAMESPACE::XalanNode *  sourceNode,
const XALAN_CPP_NAMESPACE::ElemTemplateElement *  styleNode,
const XALAN_CPP_NAMESPACE::XalanDOMString &  msg,
const XALAN_CPP_NAMESPACE::XalanDOMChar *  uri,
int  lineNo,
int  charOffset
[virtual]
 

Function that is called when a problem event occurs.

Parameters:
where either in XMLPARSER, XSLPROCESSOR, or QUERYENGINE
classification either MESSAGE, ERROR or WARNING
sourceNode source tree node where the problem occurred (may be 0)
styleNode style tree node where the problem occurred (may be 0)
msg string message explaining the problem.
uri the URI of the document where the problem occurred. May be 0.
lineNo line number where the problem occurred.
charOffset character offset where the problem.

virtual void FdoXslTransformerXalan::setPrintWriter XALAN_CPP_NAMESPACE::PrintWriter *  pw  )  [virtual]
 

Implementation of XALAN_CPP_NAMESPACE::ProblemListener interface:.

virtual void FdoXslTransformerXalan::Transform  )  [virtual]
 

Performs the transformation.

Implements FdoXslTransformer.

FdoStringP FdoXslTransformerXalan::XalanDomStringToUnicode const XALAN_CPP_NAMESPACE::XalanDOMString &  xalanDomString  )  [protected]
 

Convert a XalanDOMString to a FdoStringP string:.

FdoStringP FdoXslTransformerXalan::XalanNodeToUnicode const XALAN_CPP_NAMESPACE::XalanNode *  inNode  )  [protected]
 

Convert a XalanNode to a FdoStringP string:.


The documentation for this class was generated from the following file:
Comments or suggestions? Send us feedback.