@NotThreadSafe public class PrefixToModuleMap extends Object implements PrefixToModule
BEHAVIOUR, DEFAULT_PREFIX| Constructor and Description |
|---|
PrefixToModuleMap() |
PrefixToModuleMap(boolean preLinkageMap)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
QNameModule |
get(String prefix)
Returns QNameModule (namespace + revision) associated with supplied
prefix.
|
QNameModule |
getByNamespace(String namespace)
Returns QNameModule (namespace + revision) associated with XML namespace (URI).
|
boolean |
isPreLinkageMap()
Deprecated.
|
void |
put(String prefix,
QNameModule module) |
public PrefixToModuleMap()
@Deprecated public PrefixToModuleMap(boolean preLinkageMap)
public void put(String prefix, QNameModule module)
public QNameModule get(String prefix)
PrefixToModuleget in interface IdentifierNamespace<String,QNameModule>get in interface PrefixToModuleprefix - Prefixpublic QNameModule getByNamespace(String namespace) throws URISyntaxException
PrefixToModulegetByNamespace in interface PrefixToModulenamespace - XML NamespaceURISyntaxException - if the input string is not valid URI@Deprecated public boolean isPreLinkageMap()
PrefixToModuleisPreLinkageMap in interface PrefixToModuleCopyright © 2019 OpenDaylight. All rights reserved.