org.apache.xml.security.c14n.implementations
Class Canonicalizer11
java.lang.Object
org.apache.xml.security.c14n.CanonicalizerSpi
org.apache.xml.security.c14n.implementations.CanonicalizerBase
org.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
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Canonicalizer11
public Canonicalizer11(boolean includeComments)
- Constructor Canonicalizer11
- Parameters:
includeComments
-
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