Class MemoryTopicMapSystemImpl
- java.lang.Object
-
- net.ontopia.topicmaps.impl.tmapi2.MemoryTopicMapSystemImpl
-
- All Implemented Interfaces:
TopicMapSystemIF,org.tmapi.core.TopicMapSystem
public class MemoryTopicMapSystemImpl extends Object implements TopicMapSystemIF
INTERNAL: OKS->TMAPI 2 object wrapper.
-
-
Constructor Summary
Constructors Constructor Description MemoryTopicMapSystemImpl(TopicMapSystemFactory topicMapSystemFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()org.tmapi.core.LocatorcreateLocator(String reference)TopicMapImplcreateTopicMap(String reference)TopicMapImplcreateTopicMap(TopicMapIF topicmap)TopicMapImplcreateTopicMap(org.tmapi.core.Locator loc)booleangetFeature(String feature)Set<org.tmapi.core.Locator>getLocators()ObjectgetProperty(String property)TopicMapImplgetTopicMap(String reference)TopicMapImplgetTopicMap(org.tmapi.core.Locator loc)voidremove(LocatorIF loc)org.tmapi.core.LocatorwrapLocator(LocatorIF loc)
-
-
-
Constructor Detail
-
MemoryTopicMapSystemImpl
public MemoryTopicMapSystemImpl(TopicMapSystemFactory topicMapSystemFactory)
-
-
Method Detail
-
close
public void close()
- Specified by:
closein interfaceorg.tmapi.core.TopicMapSystem
-
createLocator
public org.tmapi.core.Locator createLocator(String reference)
- Specified by:
createLocatorin interfaceorg.tmapi.core.TopicMapSystem
-
wrapLocator
public org.tmapi.core.Locator wrapLocator(LocatorIF loc)
- Specified by:
wrapLocatorin interfaceTopicMapSystemIF
-
createTopicMap
public TopicMapImpl createTopicMap(org.tmapi.core.Locator loc) throws org.tmapi.core.TopicMapExistsException
- Specified by:
createTopicMapin interfaceorg.tmapi.core.TopicMapSystem- Throws:
org.tmapi.core.TopicMapExistsException
-
createTopicMap
public TopicMapImpl createTopicMap(TopicMapIF topicmap) throws org.tmapi.core.TopicMapExistsException
- Throws:
org.tmapi.core.TopicMapExistsException
-
createTopicMap
public TopicMapImpl createTopicMap(String reference) throws org.tmapi.core.TopicMapExistsException
- Specified by:
createTopicMapin interfaceorg.tmapi.core.TopicMapSystem- Throws:
org.tmapi.core.TopicMapExistsException
-
getFeature
public boolean getFeature(String feature) throws org.tmapi.core.FeatureNotRecognizedException
- Specified by:
getFeaturein interfaceorg.tmapi.core.TopicMapSystem- Throws:
org.tmapi.core.FeatureNotRecognizedException
-
getLocators
public Set<org.tmapi.core.Locator> getLocators()
- Specified by:
getLocatorsin interfaceorg.tmapi.core.TopicMapSystem
-
getProperty
public Object getProperty(String property)
- Specified by:
getPropertyin interfaceorg.tmapi.core.TopicMapSystem
-
getTopicMap
public TopicMapImpl getTopicMap(String reference)
- Specified by:
getTopicMapin interfaceorg.tmapi.core.TopicMapSystem
-
getTopicMap
public TopicMapImpl getTopicMap(org.tmapi.core.Locator loc)
- Specified by:
getTopicMapin interfaceorg.tmapi.core.TopicMapSystem
-
remove
public void remove(LocatorIF loc)
- Specified by:
removein interfaceTopicMapSystemIF
-
-