public class OslcGlobalNamespaceProvider extends Object
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.Modifier and Type | Method and Description |
---|---|
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.
|
public static OslcGlobalNamespaceProvider getInstance()
public Map<String,String> getPrefixDefinitionMap()
Copyright © 2017. All rights reserved.