Package com.sun.xml.wss.impl.transform
Class Canonicalizer20010315ExclOmitComments
- java.lang.Object
-
- com.sun.xml.wss.impl.transform.Canonicalizer20010315ExclOmitComments
-
public class Canonicalizer20010315ExclOmitComments extends Object
Implements " Exclusive XML Canonicalization, Version 1.0 "
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.- Version:
- $Revision: 1.2 $
- Author:
- Christian Geuer-Pollmann
, K.Venugopal@sun.com - See Also:
- XML Canonicalization, Version 1.0
-
-
Constructor Summary
Constructors Constructor Description Canonicalizer20010315ExclOmitComments()Constructor Canonicalizer20010315ExclOmitComments
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected static NodedeReference(Node node, XMLCryptoContext context)voidengineCanonicalizeXPathNodeSet(Set xpathNodeSet, String inclusiveNamespaces, OutputStream stream, XMLCryptoContext context)Method engineCanonicalizeXPathNodeSetbooleanis_includeComments()voidset_includeComments(boolean comments)voidsetWriter(OutputStream _writer)
-
-
-
Field Detail
-
nullNode
protected static final Attr nullNode
-
-
Method Detail
-
engineCanonicalizeXPathNodeSet
public void engineCanonicalizeXPathNodeSet(Set xpathNodeSet, String inclusiveNamespaces, OutputStream stream, XMLCryptoContext context) throws org.apache.xml.security.c14n.CanonicalizationException, URIReferenceException
Method engineCanonicalizeXPathNodeSet- Throws:
org.apache.xml.security.c14n.CanonicalizationExceptionURIReferenceException
-
is_includeComments
public final boolean is_includeComments()
- Returns:
- Returns the _includeComments.
-
set_includeComments
public final void set_includeComments(boolean comments)
- Parameters:
comments- The _includeComments to set.
-
setWriter
public void setWriter(OutputStream _writer)
- Parameters:
_writer- The _writer to set.
-
deReference
protected static Node deReference(Node node, XMLCryptoContext context) throws URIReferenceException
- Throws:
URIReferenceException
-
-