org.apache.axiom.c14n.impl
Class Canonicalizer20010315Excl
java.lang.Object
org.apache.axiom.c14n.CanonicalizerSpi
org.apache.axiom.c14n.impl.CanonicalizerBase
org.apache.axiom.c14n.impl.Canonicalizer20010315Excl
- Direct Known Subclasses:
- Canonicalizer20010315ExclOmitComments, Canonicalizer20010315ExclWithComments
public abstract class Canonicalizer20010315Excl
- extends CanonicalizerBase
- Author:
- Christian Geuer-Pollmann
modified to work with Axiom wrapper by Saliya Ekanayake (esaliya@gmail.com)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Canonicalizer20010315Excl
public Canonicalizer20010315Excl(boolean includeComments)
- Constructor Canonicalizer20010315Excl
- Parameters:
includeComments
-
engineCanonicalizeSubTree
public byte[] engineCanonicalizeSubTree(Node rootNode)
throws CanonicalizationException
- Method engineCanonicalizeSubTree
- Overrides:
engineCanonicalizeSubTree
in class CanonicalizerBase
- Parameters:
rootNode
-
- Throws:
CanonicalizationException
engineCanonicalizeSubTree
public byte[] engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces)
throws CanonicalizationException
- Method engineCanonicalizeSubTree
- Specified by:
engineCanonicalizeSubTree
in class CanonicalizerSpi
- Parameters:
rootNode
- inclusiveNamespaces
-
- Throws:
CanonicalizationException
engineCanonicalizeSubTree
public byte[] engineCanonicalizeSubTree(Node rootNode,
String inclusiveNamespaces,
Node excl)
throws CanonicalizationException
- Method engineCanonicalizeSubTree
- Parameters:
rootNode
- inclusiveNamespaces
- excl
- A element to exclude from the org.apache.axiom.c14n.impl process.
- Returns:
- the rootNode org.apache.axiom.c14n.impl.
- Throws:
CanonicalizationException
prefixStr2Set
public static SortedSet prefixStr2Set(String inclusiveNamespaces)
- Decodes the
inclusiveNamespaces
String and returns all
selected namespace prefixes as a Set. The #default
namespace token is represented as an empty namespace prefix
("xmlns"
).
The String inclusiveNamespaces=" xenc ds #default"
is returned as a Set containing the following Strings:
- Parameters:
inclusiveNamespaces
-
- Returns:
- A set to string
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.