public class C14nHelper
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
assertNotRelativeNS(org.w3c.dom.Attr attr)
This method throws an exception if the Attribute value contains
a relative URI.
|
static void |
checkForRelativeNamespace(org.w3c.dom.Element ctxNode)
This method throws a CanonicalizationException if the supplied Element
contains any relative namespaces.
|
static void |
checkTraversability(org.w3c.dom.Document document)
This method throws a CanonicalizationException if the supplied Document
is not able to be traversed using a TreeWalker.
|
static boolean |
namespaceIsAbsolute(org.w3c.dom.Attr namespace)
Method namespaceIsAbsolute
|
static boolean |
namespaceIsAbsolute(java.lang.String namespaceValue)
Method namespaceIsAbsolute
|
static boolean |
namespaceIsRelative(org.w3c.dom.Attr namespace)
Method namespaceIsRelative
|
static boolean |
namespaceIsRelative(java.lang.String namespaceValue)
Method namespaceIsRelative
|
public static boolean namespaceIsRelative(org.w3c.dom.Attr namespace)
namespace
- public static boolean namespaceIsRelative(java.lang.String namespaceValue)
namespaceValue
- public static boolean namespaceIsAbsolute(org.w3c.dom.Attr namespace)
namespace
- public static boolean namespaceIsAbsolute(java.lang.String namespaceValue)
namespaceValue
- public static void assertNotRelativeNS(org.w3c.dom.Attr attr) throws CanonicalizationException
attr
- CanonicalizationException
public static void checkTraversability(org.w3c.dom.Document document) throws CanonicalizationException
document
- CanonicalizationException
public static void checkForRelativeNamespace(org.w3c.dom.Element ctxNode) throws CanonicalizationException
ctxNode
- CanonicalizationException
assertNotRelativeNS(Attr)