public abstract class CanonicalizerSpi
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected boolean |
reset
Reset the writter after a c14n
|
| Constructor and Description |
|---|
CanonicalizerSpi() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
engineCanonicalize(byte[] inputBytes)
Method canonicalize
|
abstract byte[] |
engineCanonicalizeSubTree(org.w3c.dom.Node rootNode)
C14n a node tree.
|
abstract byte[] |
engineCanonicalizeSubTree(org.w3c.dom.Node rootNode,
java.lang.String inclusiveNamespaces)
C14n a node tree.
|
byte[] |
engineCanonicalizeXPathNodeSet(org.w3c.dom.NodeList xpathNodeSet)
Method engineCanonicalizeXPathNodeSet
|
byte[] |
engineCanonicalizeXPathNodeSet(org.w3c.dom.NodeList xpathNodeSet,
java.lang.String inclusiveNamespaces)
Method engineCanonicalizeXPathNodeSet
|
abstract byte[] |
engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet)
C14n a nodeset
|
abstract byte[] |
engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet,
java.lang.String inclusiveNamespaces)
C14n a nodeset
|
abstract boolean |
engineGetIncludeComments()
Returns the URI if include comments
|
abstract java.lang.String |
engineGetURI()
Returns the URI of this engine.
|
abstract void |
setWriter(java.io.OutputStream os)
Sets the writter where the cannocalization ends.
|
public byte[] engineCanonicalize(byte[] inputBytes)
throws javax.xml.parsers.ParserConfigurationException,
java.io.IOException,
org.xml.sax.SAXException,
CanonicalizationException
inputBytes - CanonicalizationExceptionjava.io.IOExceptionjavax.xml.parsers.ParserConfigurationExceptionorg.xml.sax.SAXExceptionpublic byte[] engineCanonicalizeXPathNodeSet(org.w3c.dom.NodeList xpathNodeSet)
throws CanonicalizationException
xpathNodeSet - CanonicalizationExceptionpublic byte[] engineCanonicalizeXPathNodeSet(org.w3c.dom.NodeList xpathNodeSet,
java.lang.String inclusiveNamespaces)
throws CanonicalizationException
xpathNodeSet - inclusiveNamespaces - CanonicalizationExceptionpublic abstract java.lang.String engineGetURI()
public abstract boolean engineGetIncludeComments()
public abstract byte[] engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet)
throws CanonicalizationException
xpathNodeSet - CanonicalizationExceptionpublic abstract byte[] engineCanonicalizeXPathNodeSet(java.util.Set xpathNodeSet,
java.lang.String inclusiveNamespaces)
throws CanonicalizationException
xpathNodeSet - inclusiveNamespaces - CanonicalizationExceptionpublic abstract byte[] engineCanonicalizeSubTree(org.w3c.dom.Node rootNode)
throws CanonicalizationException
rootNode - CanonicalizationExceptionpublic abstract byte[] engineCanonicalizeSubTree(org.w3c.dom.Node rootNode,
java.lang.String inclusiveNamespaces)
throws CanonicalizationException
rootNode - inclusiveNamespaces - CanonicalizationExceptionpublic abstract void setWriter(java.io.OutputStream os)
os - Copyright © 2025. All rights reserved.