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

java.lang.Object
  extended byorg.apache.xml.security.c14n.CanonicalizerSpi
      extended byorg.apache.xml.security.c14n.implementations.CanonicalizerBase
          extended byorg.apache.xml.security.c14n.implementations.Canonicalizer11
Direct Known Subclasses:
Canonicalizer11_OmitComments, Canonicalizer11_WithComments

public abstract class Canonicalizer11
extends CanonicalizerBase

Implements Canonical XML Version 1.1, a W3C Proposed Recommendation from 29 January 2008.

Version:
$Revision: 429012 $
Author:
Sean Mullan, Raul Benito

Field Summary
 
Fields inherited from class org.apache.xml.security.c14n.implementations.CanonicalizerBase
nullNode
 
Fields inherited from class org.apache.xml.security.c14n.CanonicalizerSpi
reset
 
Constructor Summary
Canonicalizer11(boolean includeComments)
          Constructor Canonicalizer11
 
Method Summary
 byte[] engineCanonicalizeSubTree(org.w3c.dom.Node rootNode, java.lang.String inclusiveNamespaces)
          Always throws a CanonicalizationException because this is inclusive c14n.
 byte[] engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet, java.lang.String inclusiveNamespaces)
          Always throws a CanonicalizationException because this is inclusive c14n.
 
Methods inherited from class org.apache.xml.security.c14n.implementations.CanonicalizerBase
engineCanonicalize, engineCanonicalizeSubTree, engineCanonicalizeXPathNodeSet, setWriter
 
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

Canonicalizer11

public Canonicalizer11(boolean includeComments)
Constructor Canonicalizer11

Parameters:
includeComments -
Method Detail

engineCanonicalizeXPathNodeSet

public byte[] engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet,
                                             java.lang.String inclusiveNamespaces)
                                      throws CanonicalizationException
Always throws a CanonicalizationException because this is inclusive c14n.

Specified by:
engineCanonicalizeXPathNodeSet in class CanonicalizerSpi
Parameters:
xpathNodeSet -
inclusiveNamespaces -
Returns:
none it always fails
Throws:
CanonicalizationException - always

engineCanonicalizeSubTree

public byte[] engineCanonicalizeSubTree(org.w3c.dom.Node rootNode,
                                        java.lang.String inclusiveNamespaces)
                                 throws CanonicalizationException
Always throws a CanonicalizationException because this is inclusive c14n.

Specified by:
engineCanonicalizeSubTree in class CanonicalizerSpi
Parameters:
rootNode -
inclusiveNamespaces -
Returns:
none it always fails
Throws:
CanonicalizationException