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.
|
public String getPrefix(String namespace)
namespace - The namespace whose prefix is to be retrieved.public Map<String,String> getNamespace2PrefixMap()
Copyright © 2017 The University of Manchester. All rights reserved.