|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.ceryle.tm.TopicMapServices
public class TopicMapServices
Provides an overarching service for all TopicMapProcessors and TopicMapProviders
used within the application, such that any TopicMapProcessor's TopicMap objects
are available from the service, which aims to eventually (re)implement
TopicMapManager (see note below). Note that each
TopicMapProcessor contains one provider, so this service basically performs a
registration and referral function.
From the API description:
This interface is implemented by classes which provide aggregation services for TopicMapProviders. One or more TopicMapProviders may be registered with the TopicMapManager and applications may then access any of the TopicMaps handled by the TopicMapProviders.
NOTE ON THIS CONFUSION: This class initially implemented the
TopicMapManager API, but with the changes
incorporated between TM4J 0.8.x and 0.9.7, many of the methods dealing
with multiple providers were unnecessary, and currently throw an
UnsupportedOperationException. Most operations dealing with operating
via multiple providers (TopicMapProcessors) are not yet supported, so
we no longer claim to implement the API, though that may be again
supported in the future.
| Constructor Summary | |
|---|---|
TopicMapServices(Services services)
|
|
| Method Summary | |
|---|---|
TopicMapProvider |
getProvider(TopicMap tm)
Returns a handle to the TopicMapProvider which manages the storage for the specified topic map. |
TopicMapProcessor |
getTopicMapProcessor()
Returns a TopicMapProcessor providing topic map processing services. |
TopicMapProcessor |
getTopicMapProcessor(boolean create)
Returns a TopicMapProcessor providing topic map processing services. |
void |
storeTopicMap(File file,
TopicMap topicmap)
Stores the TopicMap into the given File. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TopicMapServices(Services services)
| Method Detail |
|---|
public TopicMapProcessor getTopicMapProcessor()
throws TopicMapException
TopicMapException
public TopicMapProcessor getTopicMapProcessor(boolean create)
throws TopicMapException
TopicMapExceptionpublic TopicMapProvider getProvider(TopicMap tm)
public void storeTopicMap(File file,
TopicMap topicmap)
throws TopicMapProcessingException
TopicMapProcessingException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||