org.tm4j.topicmap.utils
Class TopicMapFragment
java.lang.Object
org.tm4j.topicmap.utils.TopicMapCopier
org.tm4j.topicmap.utils.TopicMapFragment
- public class TopicMapFragment
- extends TopicMapCopier
Encapsulates an algorithm for extracting a subset of
topic map constructs from a source topic map and adding
them to a destination topic map.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TopicMapFragment
public TopicMapFragment(TopicMap destTM,
int maxRadius)
getTopicMap
public TopicMap getTopicMap()
addTopic
public Topic addTopic(Topic t,
int depth)
throws TopicMapProcessingException,
LocatorFactoryException
- Throws:
TopicMapProcessingException
LocatorFactoryException
addAssociation
public void addAssociation(Association src,
int depth)
throws TopicMapProcessingException,
LocatorFactoryException
- Throws:
TopicMapProcessingException
LocatorFactoryException