@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)
PrefixToModule
get
in interface IdentifierNamespace<String,QNameModule>
get
in interface PrefixToModule
prefix
- Prefixpublic QNameModule getByNamespace(String namespace) throws URISyntaxException
PrefixToModule
getByNamespace
in interface PrefixToModule
namespace
- XML NamespaceURISyntaxException
- if the input string is not valid URI@Deprecated public boolean isPreLinkageMap()
PrefixToModule
isPreLinkageMap
in interface PrefixToModule
Copyright © 2019 OpenDaylight. All rights reserved.