#include <DSIGTransformXPath.hpp>
Inheritance diagram for DSIGTransformXPath:
Public Methods | |
Constructors and Destructors | |
DSIGTransformXPath (DSIGSignature *sig, DOMNode *node) | |
Contructor used for existing XML signatures. More... | |
DSIGTransformXPath (DSIGSignature *sig) | |
Contructor used for new signatures. More... | |
virtual | ~DSIGTransformXPath () |
Destructor. More... | |
Interface Methods | |
virtual transformType | getTransformType () |
Determine the transform type. More... | |
virtual TXFMBase * | createTransformer (TXFMBase *input) |
Create the XPath Transformer class. More... | |
virtual DOMElement * | createBlankTransform (DOMDocument *parentDoc) |
Construct blank XPath Transform element. More... | |
virtual void | load (void) |
Load a DOM structure. More... | |
XPath specific methods | |
void | setExpression (const char *expr) |
Set the XPath expression. More... | |
const char * | getExpression (void) |
Get the XPath expression. More... | |
void | setNamespace (const char *prefix, const char *value) |
Add a new namespace to the list to be used. More... | |
void | deleteNamespace (const char *prefix) |
Delete a namespace to the list to be used. More... |
The DSIGTransformXPath class is used to hold XPath <Transform> elements within a document.
|
Contructor used for existing XML signatures.
The Node structure already exists, so read the nodes in.
|
|
Contructor used for new signatures.
The Node structure will have to be created.
|
|
Destructor.
Destroy the DSIGSignature elements. Does not destroy any associated DOM Nodes |
|
Construct blank XPath Transform element.
Instruct the implementation to create the required transform and return the newly constructed DOMNode structure Implements DSIGTransform. |
|
Create the XPath Transformer class.
Create the transformer associated with this XPath transform. Will set the expression and Namespaces as appropriate
Implements DSIGTransform. |
|
Delete a namespace to the list to be used.
Delete a namespace from the XPath Element.
|
|
Get the XPath expression.
Returns a character buffer with the expression inside it.
|
|
Determine the transform type.
Used to determine what the type of the transform is. Implements DSIGTransform. |
|
Load a DOM structure.
Load the expression and Namespaces. Implements DSIGTransform. |
|
Set the XPath expression.
Takes the provided string and uses it to set the expression in the Signature and DOM structures. If an expression already exists, it is overwritten.
|
|
Add a new namespace to the list to be used.
Add a new namespace to the XPath Element.
|