#include <DSIGTransformXPath.hpp>
Inheritance diagram for DSIGTransformXPath:
The DSIGTransformXPath class is used to hold XPath <Transform> elements within a document.
Public Member Functions | |
Constructors and Destructors | |
DSIGTransformXPath (const XSECEnv *env, XERCES_CPP_NAMESPACE_QUALIFIER DOMNode *node) | |
Contructor used for existing XML signatures. | |
DSIGTransformXPath (const XSECEnv *env) | |
Contructor used for new signatures. | |
virtual | ~DSIGTransformXPath () |
Destructor. | |
Interface Methods | |
virtual transformType | getTransformType () |
Determine the transform type. | |
virtual void | appendTransformer (TXFMChain *input) |
Create the XPath Transformer class. | |
virtual XERCES_CPP_NAMESPACE_QUALIFIER DOMElement * | createBlankTransform (XERCES_CPP_NAMESPACE_QUALIFIER DOMDocument *parentDoc) |
Construct blank XPath Transform element. | |
virtual void | load (void) |
Load a DOM structure. | |
XPath specific methods | |
void | setExpression (const char *expr) |
Set the XPath expression. | |
const char * | getExpression (void) |
Get the XPath expression. | |
void | setNamespace (const char *prefix, const char *value) |
Add a new namespace to the list to be used. | |
XERCES_CPP_NAMESPACE_QUALIFIER DOMNamedNodeMap * | getNamespaces (void) |
Get the list of namespaces. | |
void | deleteNamespace (const char *prefix) |
Delete a namespace to the list to be used. |
|
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 |
|
Create the XPath Transformer class. Create the transformer associated with this XPath transform. Will set the expression and Namespaces as appropriate
Implements DSIGTransform. |
|
Construct blank XPath Transform element. Instruct the implementation to create the required transform and return the newly constructed DOMNode structure 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.
|
|
Get the list of namespaces. Returns the DOMNamedNodeMap of the attributes of the XPath transform node. This should only contain namespaces.
|
|
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.
|