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:
  • Field Details

    • nullNode

      protected static final Attr nullNode
  • Constructor Details

    • Canonicalizer20010315ExclOmitComments

      public Canonicalizer20010315ExclOmitComments()
      Constructor Canonicalizer20010315ExclOmitComments
  • Method Details

    • 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.CanonicalizationException
      URIReferenceException
    • 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