public interface PrefixResolver
| Modifier and Type | Method and Description |
|---|---|
String |
getNamespaceForPrefix(String prefix)
Given a namespace, get the corresponding prefix.
|
String |
getNamespaceForPrefix(String prefix,
Node context)
Given a namespace, get the corresponding prefix, based on the context node.
|
boolean |
handlesNullPrefixes() |
String getNamespaceForPrefix(String prefix)
prefix - The prefix to look up, which may be an empty string ("") for the default
Namespace.String getNamespaceForPrefix(String prefix, Node context)
prefix - The prefix to look up, which may be an empty string ("") for the default
Namespace.context - The node context from which to look up the URI.boolean handlesNullPrefixes()
Copyright © 2022–2023. All rights reserved.