|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xml.security.c14n.CanonicalizerSpi | +--org.apache.xml.security.c14n.implementations.Canonicalizer20010315Excl
Implements "Exclusive
XML Canonicalization, Version 1.0", Rev 1.58.
Credits: During restructuring of the Canonicalizer framework, René Kollmorgen from
Software AG submitted an implementation of ExclC14n which fitted into the old
architecture and which based heavily on my old (and slow) implementation of
"Canonical XML". A big "thank you" to René for this.
THIS implementation is a complete rewrite of the algorithm.
Constructor Summary | |
Canonicalizer20010315Excl(boolean includeComments)
Constructor Canonicalizer20010315Excl |
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 |
boolean |
utilizedOrIncluded(org.w3c.dom.Element element,
java.lang.String namespace)
Returns true is the namespace is either utilized by the
given element or included by the includedNamespaces parameter. |
java.util.Set |
visiblyUtilized(org.w3c.dom.Element element)
Method visiblyUtilized |
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 |
public Canonicalizer20010315Excl(boolean includeComments)
includeComments
- Method Detail |
public byte[] engineCanonicalizeSubTree(org.w3c.dom.Node rootNode) throws CanonicalizationException
engineCanonicalizeSubTree
in class CanonicalizerSpi
rootNode
-
CanonicalizationException
public byte[] engineCanonicalizeSubTree(org.w3c.dom.Node rootNode, java.lang.String inclusiveNamespaces) throws CanonicalizationException
engineCanonicalizeSubTree
in class CanonicalizerSpi
rootNode
- inclusiveNamespaces
-
CanonicalizationException
public byte[] engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet) throws CanonicalizationException
engineCanonicalizeXPathNodeSet
in class CanonicalizerSpi
xpathNodeSet
-
CanonicalizationException
public byte[] engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet, java.lang.String inclusiveNamespaces) throws CanonicalizationException
engineCanonicalizeXPathNodeSet
in class CanonicalizerSpi
xpathNodeSet
- inclusiveNamespaces
-
CanonicalizationException
public boolean utilizedOrIncluded(org.w3c.dom.Element element, java.lang.String namespace)
true
is the namespace is either utilized by the
given element or included by the includedNamespaces parameter.
element
- namespace
-
public java.util.Set visiblyUtilized(org.w3c.dom.Element element)
element
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |