IRISLIB database
All Classes Namespaces Functions Variables Pages
Transformer Class Reference
Inheritance diagram for Transformer:
Collaboration diagram for Transformer:

Static Public Member Functions

 Example ()
 Example, Transform a stream. More...
 
 Example2 ()
 Example 2, Transform a stream. More...
 
 Example3 ()
 Example3, Transform a stream. More...
 
_.Library.Status TransformFile (_.Library.String pSource, _.Library.String pXSL, _.Library.String pOutput, _.XML.XSLT.ErrorHandler pErrorHandler, pParams, pCallbackHandler, _.XML.SAX.EntityResolver pResolver, _.Library.Boolean pQuoteParams)
 This method transforms a source file according to an XSL stylesheet and writes the output. More...
 
_.Library.Status TransformFileWithCompiledXSL (_.Library.String pSource, _.XML.XSLT.CompiledStyleSheet pXSL, _.Library.String pOutput, _.XML.XSLT.ErrorHandler pErrorHandler, pParams, pCallbackHandler, _.XML.SAX.EntityResolver pResolver, _.Library.Boolean pQuoteParams)
 This method transforms a source file according to an XSL stylesheet and writes the output. More...
 
_.Library.Status TransformStream (_.Library.AbstractStream pSource, _.Library.AbstractStream pXSL, _.Library.BinaryStream pOutput, _.XML.XSLT.ErrorHandler pErrorHandler, pParams, pCallbackHandler, _.XML.SAX.EntityResolver pResolver, _.Library.Boolean pQuoteParams)
 This method transforms a source stream according to an XSL stylesheet and writes the output. More...
 
_.Library.Status TransformStreamWithCompiledXSL (_.Library.AbstractStream pSource, _.XML.XSLT.CompiledStyleSheet pXSL, _.Library.BinaryStream pOutput, _.XML.XSLT.ErrorHandler pErrorHandler, pParams, pCallbackHandler, _.XML.SAX.EntityResolver pResolver, _.Library.Boolean pQuoteParams)
 This method transforms a source stream according to an XSL stylesheet and writes the output. More...
 
_.Library.Status TransformStringWithCompiledXSL (_.Library.String pString, _.XML.XSLT.CompiledStyleSheet pXSL, _.Library.String pOutput, _.XML.XSLT.ErrorHandler pErrorHandler, pParams, pCallbackHandler, _.XML.SAX.EntityResolver pResolver, _.Library.Boolean pQuoteParams)
 This method transforms a source file according to an XSL stylesheet and writes the output. More...
 

Additional Inherited Members

- Public Member Functions inherited from RegisteredObject
_.Library.Status OnAddToSaveSet (_.Library.Integer depth, _.Library.Integer insert, _.Library.Integer callcount)
 This callback method is invoked when the current object is added to the SaveSet,. More...
 
_.Library.Status OnClose ()
 This callback method is invoked by the <METHOD>Close</METHOD> method to. More...
 
_.Library.Status OnConstructClone (_.Library.RegisteredObject object, _.Library.Boolean deep, _.Library.String cloned)
 This callback method is invoked by the <METHOD>ConstructClone</METHOD> method to. More...
 
_.Library.Status OnNew ()
 This callback method is invoked by the <METHOD>New</METHOD> method to. More...
 
_.Library.Status OnValidateObject ()
 This callback method is invoked by the <METHOD>ValidateObject</METHOD> method to. More...
 
- Static Public Attributes inherited from RegisteredObject
 CAPTION = None
 Optional name used by the Form Wizard for a class when generating forms. More...
 
 JAVATYPE = None
 The Java type to be used when exported.
 
 PROPERTYVALIDATION = None
 This parameter controls the default validation behavior for the object. More...
 

Detailed Description

For details on using this class, see Performing XSLT Transformations.

Implements an interface to the XSLT Parser. XML contained in a file or binary stream may be transformed

Member Function Documentation

◆ Example()

Example ( )
static

Example, Transform a stream.

For this example, streams are derived from XDATA blocks within this class. In

a real-world scenario streams would come from an external source

◆ Example2()

Example2 ( )
static

Example 2, Transform a stream.

For this example, streams are derived from XDATA blocks within this class. In

a real-world scenario streams would come from an external source. The XSL specification is first compiled and then is used to transform the source. This is useful for when the same stylesheet needs to be applied to many different xml sources as it can result in considerable performance improvements.

◆ Example3()

Example3 ( )
static

Example3, Transform a stream.

For this example, streams are derived from XDATA blocks within this class. In

a real-world scenario streams would come from an external source. Here we install the default Callback Handler

◆ TransformFile()

_.Library.Status TransformFile ( _.Library.String  pSource,
_.Library.String  pXSL,
_.Library.String  pOutput,
_.XML.XSLT.ErrorHandler  pErrorHandler,
  pParams,
  pCallbackHandler,
_.XML.SAX.EntityResolver  pResolver,
_.Library.Boolean  pQuoteParams 
)
static

This method transforms a source file according to an XSL stylesheet and writes the output.

to the specified output file. If errors occur during processing, callbacks will be made to the supplied error handler. If an error handler is not supplied then the default is to use a newly created instance of XML.XSLT.ErrorHandler. The pParams argument is either a CoS array, or ArrayOfDataTypes of name/value pairs to be passed as $ variables.

◆ TransformFileWithCompiledXSL()

_.Library.Status TransformFileWithCompiledXSL ( _.Library.String  pSource,
_.XML.XSLT.CompiledStyleSheet  pXSL,
_.Library.String  pOutput,
_.XML.XSLT.ErrorHandler  pErrorHandler,
  pParams,
  pCallbackHandler,
_.XML.SAX.EntityResolver  pResolver,
_.Library.Boolean  pQuoteParams 
)
static

This method transforms a source file according to an XSL stylesheet and writes the output.

to the specified output file. If errors occur during processing, callbacks will be made to the supplied error handler. If an error handler is not supplied then the default is to use a newly created instance of XML.XSLT.ErrorHandler. The pParams argument is either a CoS array, or ArrayOfDataTypes of name/value pairs to be passed as $ variables.

◆ TransformStream()

_.Library.Status TransformStream ( _.Library.AbstractStream  pSource,
_.Library.AbstractStream  pXSL,
_.Library.BinaryStream  pOutput,
_.XML.XSLT.ErrorHandler  pErrorHandler,
  pParams,
  pCallbackHandler,
_.XML.SAX.EntityResolver  pResolver,
_.Library.Boolean  pQuoteParams 
)
static

This method transforms a source stream according to an XSL stylesheet and writes the output.

to the supplied binary stream. If errors occur during processing, callbacks will be made to the supplied error handler. If an error handler is not supplied then the default is to use a newly created instance of XML.XSLT.ErrorHandler. The pParams argument is either a CoS array, or ArrayOfDataTypes of name/value pairs to be passed as $ variables.

◆ TransformStreamWithCompiledXSL()

_.Library.Status TransformStreamWithCompiledXSL ( _.Library.AbstractStream  pSource,
_.XML.XSLT.CompiledStyleSheet  pXSL,
_.Library.BinaryStream  pOutput,
_.XML.XSLT.ErrorHandler  pErrorHandler,
  pParams,
  pCallbackHandler,
_.XML.SAX.EntityResolver  pResolver,
_.Library.Boolean  pQuoteParams 
)
static

This method transforms a source stream according to an XSL stylesheet and writes the output.

to the supplied binary stream. If errors occur during processing, callbacks will be made to the supplied error handler. If an error handler is not supplied then the default is to use a newly created instance of XML.XSLT.ErrorHandler. The pParams argument is either a CoS array, or ArrayOfDataTypes of name/value pairs to be passed as $ variables.

◆ TransformStringWithCompiledXSL()

_.Library.Status TransformStringWithCompiledXSL ( _.Library.String  pString,
_.XML.XSLT.CompiledStyleSheet  pXSL,
_.Library.String  pOutput,
_.XML.XSLT.ErrorHandler  pErrorHandler,
  pParams,
  pCallbackHandler,
_.XML.SAX.EntityResolver  pResolver,
_.Library.Boolean  pQuoteParams 
)
static

This method transforms a source file according to an XSL stylesheet and writes the output.

to the specified output file. If errors occur during processing, callbacks will be made to the supplied error handler. If an error handler is not supplied then the default is to use a newly created instance of XML.XSLT.ErrorHandler. The pParams argument is either a CoS array, or ArrayOfDataTypes of name/value pairs to be passed as $ variables.