public class NamespaceUtil extends Object implements Serializable
| Constructor and Description |
|---|
NamespaceUtil()
default constructor
|
| Modifier and Type | Method and Description |
|---|---|
Map<String,String> |
getNamespace2PrefixMap() |
String |
getPrefix(String namespace)
Gets a prefix for the given namespace.
|
void |
setPrefix(String namespace,
String prefix)
Sets the prefix for the specified namespace.
|
@Nonnull public String getPrefix(@Nonnull String namespace)
namespace - The namespace whose prefix is to be retrieved.@Nonnull public Map<String,String> getNamespace2PrefixMap()
public void setPrefix(@Nonnull String namespace, @Nonnull String prefix)
namespace - The namespace whose prefix is to be set.prefix - The prefix for the namespaceCopyright © 2016 The University of Manchester. All Rights Reserved.