public 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 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
- CanonicalizationException
public static void checkForRelativeNamespace(Element ctxNode) throws CanonicalizationException
ctxNode
- CanonicalizationException
assertNotRelativeNS(Attr)
Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.