Main Page | Modules | Class Hierarchy | Class List | Directories | File List | Class 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 (const XSECEnv *env, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node)
 Contructor used for existing XML signatures.
 DSIGTransformXSL (const XSECEnv *env)
 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 XERCES_CPP_NAMESPACE_QUALIFIER
DOMElement * 
createBlankTransform (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *parentDoc)
 Construct blank XSLT Transform element.
virtual void load (void)
 Load a DOM structure.
XSLT Specific Methods
XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode * 
setStylesheet (XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *stylesheet)
 Set the DOM tree nodes beneath for the actual Transform.
XERCES_CPP_NAMESPACE_QUALIFIER
DOMNode * 
getStylesheet (void)
 Get the stylesheet node.


Constructor & Destructor Documentation

DSIGTransformXSL::DSIGTransformXSL const XSECEnv env,
XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *  node
 

Contructor used for existing XML signatures.

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

Parameters:
env The operating environment
node The DOM node (within doc) that is to be used as the base of the Transform.
See also:
load

DSIGTransformXSL::DSIGTransformXSL const XSECEnv env  ) 
 

Contructor used for new signatures.

The Node structure will have to be created.

Parameters:
env The operating environment
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 XERCES_CPP_NAMESPACE_QUALIFIER DOMElement* DSIGTransformXSL::createBlankTransform XERCES_CPP_NAMESPACE_QUALIFIER 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.

XERCES_CPP_NAMESPACE_QUALIFIER 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.

XERCES_CPP_NAMESPACE_QUALIFIER DOMNode* DSIGTransformXSL::setStylesheet XERCES_CPP_NAMESPACE_QUALIFIER 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 Sun Jul 3 17:41:48 2005 for XML-Security-C by  doxygen 1.4.2