From: Gerd M. <ge...@sm...> - 2001-07-17 17:56:07
|
Hi, I'm about to implement the TopicMapProvider stuff for ozone. What I'm missing is something like a createTopicMap() method. I would suggest to extend the TopicMapProvider interface with the following method: public TopicMap buildTopicMap( InputSource input, TopicMap existingTopicMap ) throws TopicMapProviderException; This method parses the input source and either creates a new TopicMap if existingTopicMap is null or merges it otherwise. I'm not sure about the baseURL of the new TopicMap: Should it created automatically by the provider or can it be user defined ? Best Regards, Gerd P.S. While browsing the code I found TopicImpl.m_contribThemes. Is this still necessary ? Otherwise I would suggest to remove it. Also TopicMapImpl has a member m_id although it already inherits one from TopicMapObjectImpl. -- ________________________________________________________________ Gerd Mueller ge...@sm... SMB GmbH http://www.smb-tec.com |