Main Page   Modules   Class Hierarchy   Compound List   File List   Compound Members   File Members   Related Pages  

DSIGTransformXSL Class Reference
[Main Signature API]

Transform holder for XSLT Transforms. More...

#include <DSIGTransformXSL.hpp>

Inheritance diagram for DSIGTransformXSL:

Inheritance graph
[legend]
Collaboration diagram for DSIGTransformXSL:

Collaboration graph
[legend]
List of all members.

Public Methods

Constructors and Destructors
 DSIGTransformXSL (DSIGSignature *sig, DOMNode *node)
 Contructor used for existing XML signatures. More...

 DSIGTransformXSL (DSIGSignature *sig)
 Contructor used for new signatures. More...

virtual ~DSIGTransformXSL ()
 Destructor. More...

Interface Methods
virtual transformType getTransformType ()
 Determine the transform type. More...

virtual TXFMBasecreateTransformer (TXFMBase *input)
 Create the XSLT transformer element. More...

virtual DOMElement * createBlankTransform (DOMDocument *parentDoc)
 Construct blank XSLT Transform element. More...

virtual void load (void)
 Load a DOM structure. More...

XSLT Specific Methods
DOMNode * setStylesheet (DOMNode *stylesheet)
 Set the DOM tree nodes beneath for the actual Transform. More...

DOMNode * getStylesheet (void)
 Get the stylesheet node. More...


Detailed Description

Transform holder for XSLT Transforms.

The DSIGTransformXSL class is used to hold XSLT <Transform> elements within a document.

See also:
TXFMXSL , DSIGTransform


Constructor & Destructor Documentation

DSIGTransformXSL::DSIGTransformXSL DSIGSignature   sig,
DOMNode *    node
 

Contructor used for existing XML signatures.

The Node structure already exists, so read the nodes in.

Parameters:
sig  The Signature structure in which this transform exists.
node  The DOM node (within doc) that is to be used as the base of the Transform.
See also:
load

DSIGTransformXSL::DSIGTransformXSL DSIGSignature   sig
 

Contructor used for new signatures.

The Node structure will have to be created.

Parameters:
sig  The Signature structure in which this transform exists.
See also:
createBlankTransform

virtual DSIGTransformXSL::~DSIGTransformXSL   [virtual]
 

Destructor.

Destroy the DSIGSignature elements.

Does not destroy any associated DOM Nodes


Member Function Documentation

virtual DOMElement* DSIGTransformXSL::createBlankTransform DOMDocument *    parentDoc [virtual]
 

Construct blank XSLT Transform element.

Instruct the implementation to create the required transform and return the newly constructed DOMNode structure

Implements DSIGTransform.

virtual TXFMBase* DSIGTransformXSL::createTransformer TXFMBase   input [virtual]
 

Create the XSLT transformer element.

Implements DSIGTransform.

DOMNode* DSIGTransformXSL::getStylesheet void   
 

Get the stylesheet node.

Obtain the DOMNode at the top of the stylesheet that will be used in this transform.

Returns:
The top stylesheet node

virtual transformType DSIGTransformXSL::getTransformType   [virtual]
 

Determine the transform type.

Used to determine what the type of the transform is.

Implements DSIGTransform.

virtual void DSIGTransformXSL::load void    [virtual]
 

Load a DOM structure.

Find the start of the XSLT transform and load.

Implements DSIGTransform.

DOMNode* DSIGTransformXSL::setStylesheet DOMNode *    stylesheet
 

Set the DOM tree nodes beneath for the actual Transform.

The caller needs to have already created the DOM tree with the XSLT embedded.

Returns:
The old transform Element node if it existed.
Parameters:
stylesheet  The new stylesheet to insert into the document
Note:
Does not delete the old stylesheet if one existed. This is returned to the caller who is expected to delete it.


The documentation for this class was generated from the following file:
Generated on Sat Jan 11 20:35:16 2003 for XML-Security-C by doxygen1.2.15