public class NoopNamespaceService extends Object implements NamespaceService
NamespaceService
that stores nothing and offers nothing.Constructor and Description |
---|
NoopNamespaceService() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
getNamespaces()
Fetch the entire namespace mapping.
|
boolean |
setPrefix(String prefix,
String namespace)
Set the namespace for a given prefix.
|
public Map<String,String> getNamespaces()
NamespaceService
getNamespaces
in interface NamespaceService
public boolean setPrefix(String prefix, String namespace)
NamespaceService
setPrefix
in interface NamespaceService
prefix
- the prefixnamespace
- the namespace