org.apache.xml.security.c14n.implementations
Class Canonicalizer20010315

java.lang.Object
  |
  +--org.apache.xml.security.c14n.CanonicalizerSpi
        |
        +--org.apache.xml.security.c14n.implementations.Canonicalizer20010315
Direct Known Subclasses:
Canonicalizer20010315OmitComments, Canonicalizer20010315WithComments

public abstract class Canonicalizer20010315
extends CanonicalizerSpi

Class Canonicalizer20010315

Version:
$Revision: 1.20 $
Author:
$Author: geuerp $

Constructor Summary
Canonicalizer20010315(boolean includeComments)
          Constructor Canonicalizer20010315
 
Method Summary
 byte[] engineCanonicalizeSubTree(org.w3c.dom.Node rootNode)
          Method engineCanonicalizeSubTree
 byte[] engineCanonicalizeSubTree(org.w3c.dom.Node rootNode, java.lang.String inclusiveNamespaces)
          Method engineCanonicalizeSubTree
 byte[] engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet)
          Method engineCanonicalizeXPathNodeSet
 byte[] engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet, java.lang.String inclusiveNamespaces)
          Method engineCanonicalizeXPathNodeSet
static java.util.Map getinscopeNamespaces(org.w3c.dom.Element apexElement)
          Collects all relevant xml:* and xmlns:* attributes from all ancestor Elements from rootNode and creates a Map containg the attribute names/values.
 
Methods inherited from class org.apache.xml.security.c14n.CanonicalizerSpi
engineCanonicalize, engineCanonicalizeXPathNodeSet, engineCanonicalizeXPathNodeSet, engineGetIncludeComments, engineGetURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Canonicalizer20010315

public Canonicalizer20010315(boolean includeComments)
Constructor Canonicalizer20010315

Parameters:
includeComments -
Method Detail

engineCanonicalizeSubTree

public byte[] engineCanonicalizeSubTree(org.w3c.dom.Node rootNode)
                                 throws CanonicalizationException
Method engineCanonicalizeSubTree

Specified by:
engineCanonicalizeSubTree in class CanonicalizerSpi
Parameters:
rootNode -
Returns:
Throws:
CanonicalizationException

getinscopeNamespaces

public static java.util.Map getinscopeNamespaces(org.w3c.dom.Element apexElement)
Collects all relevant xml:* and xmlns:* attributes from all ancestor Elements from rootNode and creates a Map containg the attribute names/values.

Parameters:
apexElement -
Returns:

engineCanonicalizeXPathNodeSet

public byte[] engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet)
                                      throws CanonicalizationException
Method engineCanonicalizeXPathNodeSet

Specified by:
engineCanonicalizeXPathNodeSet in class CanonicalizerSpi
Parameters:
xpathNodeSet -
Returns:
Throws:
CanonicalizationException

engineCanonicalizeXPathNodeSet

public byte[] engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet,
                                             java.lang.String inclusiveNamespaces)
                                      throws CanonicalizationException
Method engineCanonicalizeXPathNodeSet

Specified by:
engineCanonicalizeXPathNodeSet in class CanonicalizerSpi
Parameters:
xpathNodeSet -
inclusiveNamespaces -
Returns:
Throws:
CanonicalizationException

engineCanonicalizeSubTree

public byte[] engineCanonicalizeSubTree(org.w3c.dom.Node rootNode,
                                        java.lang.String inclusiveNamespaces)
                                 throws CanonicalizationException
Method engineCanonicalizeSubTree

Specified by:
engineCanonicalizeSubTree in class CanonicalizerSpi
Parameters:
rootNode -
inclusiveNamespaces -
Returns:
Throws:
CanonicalizationException