public abstract class CanonicalizerSpi extends Object
Constructor and Description |
---|
CanonicalizerSpi() |
Modifier and Type | Method and Description |
---|---|
void |
engineCanonicalize(byte[] inputBytes,
OutputStream writer,
boolean secureValidation)
Method canonicalize
|
abstract void |
engineCanonicalizeSubTree(Node rootNode,
OutputStream writer)
C14n a node tree.
|
abstract void |
engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
boolean propagateDefaultNamespace,
OutputStream writer)
C14n a node tree.
|
abstract void |
engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
OutputStream writer)
C14n a node tree.
|
abstract void |
engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet,
OutputStream writer)
C14n a nodeset
|
abstract void |
engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet,
String inclusiveNamespaces,
OutputStream writer)
C14n a nodeset
|
abstract String |
engineGetURI()
Returns the URI of this engine.
|
public void engineCanonicalize(byte[] inputBytes, OutputStream writer, boolean secureValidation) throws XMLParserException, IOException, CanonicalizationException
inputBytes
- writer
- OutputStream to write the canonicalization resultsecureValidation
- Whether secure validation is enabledXMLParserException
IOException
ParserConfigurationException
CanonicalizationException
public abstract String engineGetURI()
public abstract void engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet, OutputStream writer) throws CanonicalizationException
xpathNodeSet
- writer
- OutputStream to write the canonicalization resultCanonicalizationException
public abstract void engineCanonicalizeXPathNodeSet(Set<Node> xpathNodeSet, String inclusiveNamespaces, OutputStream writer) throws CanonicalizationException
xpathNodeSet
- inclusiveNamespaces
- writer
- OutputStream to write the canonicalization resultCanonicalizationException
public abstract void engineCanonicalizeSubTree(Node rootNode, OutputStream writer) throws CanonicalizationException
rootNode
- writer
- OutputStream to write the canonicalization resultCanonicalizationException
public abstract void engineCanonicalizeSubTree(Node rootNode, String inclusiveNamespaces, OutputStream writer) throws CanonicalizationException
rootNode
- inclusiveNamespaces
- writer
- OutputStream to write the canonicalization resultCanonicalizationException
public abstract void engineCanonicalizeSubTree(Node rootNode, String inclusiveNamespaces, boolean propagateDefaultNamespace, OutputStream writer) throws CanonicalizationException
rootNode
- inclusiveNamespaces
- propagateDefaultNamespace
- If true the default namespace will be propagated to the c14n-ized root elementwriter
- OutputStream to write the canonicalization resultCanonicalizationException
Copyright © 2000–2020 The Apache Software Foundation. All rights reserved.