public class StreamingC14NImpl extends Canonicalizer
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
StreamingC14NImpl.AttrComparator  | 
static class  | 
StreamingC14NImpl.AttrObj  | 
static class  | 
StreamingC14NImpl.StreamingExclusiveC14NImpl  | 
static class  | 
StreamingC14NImpl.StreamingExclusiveCommentsC14NImpl  | 
static class  | 
StreamingC14NImpl.StreamingInclusiveC14N11Impl  | 
static class  | 
StreamingC14NImpl.StreamingInclusiveC14NImpl  | 
static class  | 
StreamingC14NImpl.StreamingInclusiveCommentsC14N11Impl  | 
static class  | 
StreamingC14NImpl.StreamingInclusiveCommentsC14NImpl  | 
algorithmURI, c14nMethod| Constructor and Description | 
|---|
StreamingC14NImpl()  | 
StreamingC14NImpl(boolean excC14n, boolean withComments)  | 
StreamingC14NImpl(boolean excC14n, boolean withComments, boolean c14n11)  | 
StreamingC14NImpl(boolean exclusive, boolean withComments, java.lang.String inclusiveNSList)  | 
| Modifier and Type | Method and Description | 
|---|---|
byte[] | 
canonicalize(java.util.Collection source)
Canonicalizes the given  
Collection, returning the resulting XML octets in UTF-8 encoding. | 
byte[] | 
canonicalize(org.xml.sax.InputSource source)
Canonicalizes the XML in the given  
InputSource, returning the resulting XML octets in UTF-8 encoding. | 
byte[] | 
canonicalize(java.io.InputStream source)
Canonicalizes the XML in the given input stream, returning the resulting XML octets in UTF-8 encoding. 
 | 
byte[] | 
canonicalize(java.io.InputStream source, java.lang.String systemId)
Canonicalizes the XML in the given input stream, returning the resulting XML octets in UTF-8 encoding. 
 | 
byte[] | 
canonicalize(org.w3c.dom.Node source)
Canonicalizes a DOM subtree rooted in the given  
Node, returning the resulting XML octets in UTF-8 encoding. | 
byte[] | 
canonicalize(org.w3c.dom.NodeList source)
Canonicalizes the given  
NodeList, returning the resulting XML octets in UTF-8 encoding. | 
java.io.InputStream | 
canonicalizeToStream(java.util.Collection source)
Canonicalizes the given  
Collection, returning the resulting XML octets in UTF-8 encoding. | 
java.io.InputStream | 
canonicalizeToStream(org.xml.sax.InputSource source)
Canonicalizes the XML in the given  
InputSource, returning the resulting XML octets in UTF-8 encoding. | 
java.io.InputStream | 
canonicalizeToStream(java.io.InputStream source)
Canonicalizes the XML in the given input stream, returning the resulting XML octets in UTF-8 encoding. 
 | 
java.io.InputStream | 
canonicalizeToStream(java.io.InputStream source, java.lang.String systemId)
Canonicalizes the XML in the given input stream, returning the resulting XML octets in UTF-8 encoding. 
 | 
java.io.InputStream | 
canonicalizeToStream(org.w3c.dom.Node subTree)
Canonicalize an entire subtree 
 | 
java.io.InputStream | 
canonicalizeToStream(org.w3c.dom.NodeList source)
Canonicalizes the given  
NodeList, returning the resulting XML octets in UTF-8 encoding. | 
java.io.InputStream | 
canonicalizeToStream(NodeReader nodeReader)  | 
void | 
canonicalizeToStream(NodeReader nodeReader, java.io.OutputStream os)  | 
static java.lang.String | 
getInclusiveNamespacesList(XSAlgorithmIdentifier c14nMethod)  | 
java.lang.String | 
getInclusiveNSPrefixList()
Returns the value of the InclusiveNamespaces parameter's PrefixList attribute. 
 | 
void | 
setInclusiveNSPrefixList(java.lang.String inclusiveNSList)
Sets the value of the InclusiveNamespaces parameter's PrefixList attribute. 
 | 
getAlgorithURI, getC14NMethod, getInstance, getInstance, getInstance, getInstance
public StreamingC14NImpl(boolean excC14n,
                 boolean withComments)
public StreamingC14NImpl(boolean excC14n,
                 boolean withComments,
                 boolean c14n11)
public StreamingC14NImpl()
public StreamingC14NImpl(boolean exclusive,
                 boolean withComments,
                 java.lang.String inclusiveNSList)
public static java.lang.String getInclusiveNamespacesList(XSAlgorithmIdentifier c14nMethod) throws java.lang.IllegalArgumentException
java.lang.IllegalArgumentExceptionpublic void setInclusiveNSPrefixList(java.lang.String inclusiveNSList)
setInclusiveNSPrefixList in class Canonicalizerpublic java.lang.String getInclusiveNSPrefixList()
getInclusiveNSPrefixList in class Canonicalizer
public java.io.InputStream canonicalizeToStream(org.w3c.dom.Node subTree)
                                         throws CanonicalizationException
canonicalizeToStream in class Canonicalizersource -CanonicalizationException
public java.io.InputStream canonicalizeToStream(java.util.Collection source)
                                         throws CanonicalizationException
CanonicalizerCollection, returning the resulting XML octets in UTF-8 encoding.canonicalizeToStream in class Canonicalizersource - A java.util.Collection containing the nodes to be canonicalized.CanonicalizationException
public java.io.InputStream canonicalizeToStream(org.w3c.dom.NodeList source)
                                         throws CanonicalizationException
CanonicalizerNodeList, returning the resulting XML octets in UTF-8 encoding.canonicalizeToStream in class Canonicalizersource - An org.w3c.dom.NodeList to be canonicalized.CanonicalizationExceptionpublic java.io.InputStream canonicalizeToStream(NodeReader nodeReader) throws CanonicalizationException
CanonicalizationExceptionpublic void canonicalizeToStream(NodeReader nodeReader, java.io.OutputStream os)
public byte[] canonicalize(java.util.Collection source)
                    throws CanonicalizationException
CanonicalizerCollection, returning the resulting XML octets in UTF-8 encoding.canonicalize in class Canonicalizersource - A java.util.Collection containing the nodes to be canonicalized.CanonicalizationException
public java.io.InputStream canonicalizeToStream(org.xml.sax.InputSource source)
                                         throws CanonicalizationException
CanonicalizerInputSource, returning the resulting XML octets in UTF-8 encoding.canonicalizeToStream in class Canonicalizersource - An org.xml.sax.InputSource containing the XML to be canonicalized.CanonicalizationException
public java.io.InputStream canonicalizeToStream(java.io.InputStream source,
                                       java.lang.String systemId)
                                         throws CanonicalizationException
CanonicalizercanonicalizeToStream in class Canonicalizersource - A java.io.InputStream containing the XML to be canonicalized.systemId - A URI string identifying the input stream source.CanonicalizationException
public java.io.InputStream canonicalizeToStream(java.io.InputStream source)
                                         throws CanonicalizationException
CanonicalizercanonicalizeToStream in class Canonicalizersource - A java.io.InputStream containing the XML to be canonicalized.CanonicalizationException
public byte[] canonicalize(org.xml.sax.InputSource source)
                    throws CanonicalizationException
CanonicalizerInputSource, returning the resulting XML octets in UTF-8 encoding.canonicalize in class Canonicalizersource - An org.xml.sax.InputSource containing the XML to be canonicalized.CanonicalizationException
public byte[] canonicalize(java.io.InputStream source,
                  java.lang.String systemId)
                    throws CanonicalizationException
Canonicalizercanonicalize in class Canonicalizersource - A java.io.InputStream containing the XML to be canonicalized.systemId - A URI string identifying the input stream source.CanonicalizationException
public byte[] canonicalize(java.io.InputStream source)
                    throws CanonicalizationException
Canonicalizercanonicalize in class Canonicalizersource - A java.io.InputStream containing the XML to be canonicalized.CanonicalizationException
public byte[] canonicalize(org.w3c.dom.Node source)
                    throws CanonicalizationException
CanonicalizerNode, returning the resulting XML octets in UTF-8 encoding.canonicalize in class Canonicalizersource - An org.w3c.dom.Node at the root of a XML tree to be canonicalized.CanonicalizationException
public byte[] canonicalize(org.w3c.dom.NodeList source)
                    throws CanonicalizationException
CanonicalizerNodeList, returning the resulting XML octets in UTF-8 encoding.canonicalize in class Canonicalizersource - An org.w3c.dom.NodeList to be canonicalized.CanonicalizationException