com.sun.xml.wss.impl.transform
Class Canonicalizer20010315ExclOmitComments

java.lang.Object
  extended by 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

Field Summary
protected static Attr nullNode
           
 
Constructor Summary
Canonicalizer20010315ExclOmitComments()
          Constructor Canonicalizer20010315ExclOmitComments
 
Method Summary
protected static Node deReference(Node node, XMLCryptoContext context)
           
 void engineCanonicalizeXPathNodeSet(Set xpathNodeSet, String inclusiveNamespaces, OutputStream stream, XMLCryptoContext context)
          Method engineCanonicalizeXPathNodeSet
 boolean is_includeComments()
           
 void set_includeComments(boolean comments)
           
 void setWriter(OutputStream _writer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

nullNode

protected static final Attr nullNode
Constructor Detail

Canonicalizer20010315ExclOmitComments

public Canonicalizer20010315ExclOmitComments()
Constructor Canonicalizer20010315ExclOmitComments

Method Detail

engineCanonicalizeXPathNodeSet

public void engineCanonicalizeXPathNodeSet(Set xpathNodeSet,
                                           String inclusiveNamespaces,
                                           OutputStream stream,
                                           XMLCryptoContext context)
                                    throws com.sun.org.apache.xml.internal.security.c14n.CanonicalizationException,
                                           URIReferenceException
Method engineCanonicalizeXPathNodeSet

Parameters:
xpathNodeSet -
inclusiveNamespaces -
Throws:
com.sun.org.apache.xml.internal.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


Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.