public class OslcNsPrefixCacheImpl extends java.lang.Object implements MaximoCache
Constructor and Description |
---|
OslcNsPrefixCacheImpl() |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Returns the name of the cache object.
|
java.lang.String |
getNsForPrefix(java.lang.String prefix) |
java.util.Map<java.lang.String,java.lang.String> |
getOsNsPrefixMap() |
java.util.Map<java.lang.String,java.lang.String> |
getOsNsPrefixMap(java.lang.String osName) |
java.util.Map<java.lang.String,java.lang.String> |
getOsPrefixNsMap(java.lang.String osName) |
java.lang.String |
getPrefixForNs(java.lang.String nsURI) |
void |
init()
Initialize the cache object.
|
void |
reload()
Reloads the cache object.
|
void |
reload(java.lang.String key)
Initialize a specific component of the cache identified by the key.
|
public java.util.Map<java.lang.String,java.lang.String> getOsNsPrefixMap()
public java.util.Map<java.lang.String,java.lang.String> getOsNsPrefixMap(java.lang.String osName)
public java.util.Map<java.lang.String,java.lang.String> getOsPrefixNsMap(java.lang.String osName)
public java.lang.String getPrefixForNs(java.lang.String nsURI)
public java.lang.String getNsForPrefix(java.lang.String prefix)
public void init() throws MXException
init
in interface MaximoCache
MXException
public void reload() throws MXException
reload
in interface MaximoCache
MXException
public void reload(java.lang.String key) throws MXException
reload
in interface MaximoCache
key
- MXException
public java.lang.String getName()
getName
in interface MaximoCache