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

DSIGTransformXSL Class Reference
[Main Signature API]

#include <DSIGTransformXSL.hpp>

Inheritance diagram for DSIGTransformXSL:

Inheritance graph
[legend]
Collaboration diagram for DSIGTransformXSL:

Collaboration graph
[legend]
List of all members.

Detailed Description

Transform holder for XSLT Transforms.

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

See also:
TXFMXSL

DSIGTransform


Public Member Functions

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

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

virtual ~DSIGTransformXSL ()
 Destructor.

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

virtual void appendTransformer (TXFMChain *input)
 Create the XSLT transformer element.

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

virtual void load (void)
 Load a DOM structure.

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

DOMNode * getStylesheet (void)
 Get the stylesheet node.


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 void DSIGTransformXSL::appendTransformer TXFMChain input  )  [virtual]
 

Create the XSLT transformer element.

Implements DSIGTransform.

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.

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 Aug 9 18:36:46 2003 for XML-Security-C by doxygen 1.3.2