public final class C14nHelper extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
assertNotRelativeNS(Attr attr)
This method throws an exception if the Attribute value contains
a relative URI.
|
static void |
checkForRelativeNamespace(Element ctxNode)
This method throws a CanonicalizationException if the supplied Element
contains any relative namespaces.
|
static void |
checkTraversability(Document document)
This method throws a CanonicalizationException if the supplied Document
is not able to be traversed using a TreeWalker.
|
static boolean |
namespaceIsAbsolute(Attr namespace)
Method namespaceIsAbsolute
|
static boolean |
namespaceIsAbsolute(String namespaceValue)
Method namespaceIsAbsolute
|
static boolean |
namespaceIsRelative(Attr namespace)
Method namespaceIsRelative
|
static boolean |
namespaceIsRelative(String namespaceValue)
Method namespaceIsRelative
|
public static boolean namespaceIsRelative(Attr namespace)
namespace - public static boolean namespaceIsRelative(String namespaceValue)
namespaceValue - public static boolean namespaceIsAbsolute(Attr namespace)
namespace - public static boolean namespaceIsAbsolute(String namespaceValue)
namespaceValue - public static void assertNotRelativeNS(Attr attr) throws CanonicalizationException
attr - CanonicalizationExceptionpublic static void checkTraversability(Document document) throws CanonicalizationException
document - CanonicalizationExceptionpublic static void checkForRelativeNamespace(Element ctxNode) throws CanonicalizationException
ctxNode - CanonicalizationExceptionassertNotRelativeNS(Attr)Copyright © 2000–2019 The Apache Software Foundation. All rights reserved.