|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.lyo.oslc4j.core.OslcGlobalNamespaceProvider
public class OslcGlobalNamespaceProvider
Defines the global namespace prefix mappings.
The global namespace mappings do not take precedence
over any other namespace mappings definition, which means
that in case of conflict the OslcSchema
will
override the prefix.
This class is a singleton instance, that can be obtained
calling getInstance()
, since it works with
any request even if there are no annotation mapping.
Method Summary | |
---|---|
static OslcGlobalNamespaceProvider |
getInstance()
Gets the unique instance of this class. |
Map<String,String> |
getPrefixDefinitionMap()
Gets the Global namespace mappings, these mappings are applied to all operations, even without the annotation mappings. |
void |
setPrefixDefinitionMap(Map<String,String> prefixDefinitionMap)
Sets the global prefix definition map with the given map. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public static OslcGlobalNamespaceProvider getInstance()
public Map<String,String> getPrefixDefinitionMap()
public void setPrefixDefinitionMap(Map<String,String> prefixDefinitionMap)
prefixDefinitionMap
- that will replace the current.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |