|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.utils.TopicMapSynchronizer
public class TopicMapSynchronizer
PUBLIC: Implementation of the TMSync algorithm.
Constructor Summary | |
---|---|
TopicMapSynchronizer()
|
Method Summary | |
---|---|
static void |
update(TopicMapIF target,
java.lang.String ttopicq,
DeciderIF tchard,
TopicMapIF source,
java.lang.String stopicq,
DeciderIF schard)
PUBLIC: Updates the target topic map from the source topic map, synchronizing the selected topics in the target (ttopicq) with the selected topics in the source (stopicq) using the deciders to filter topic characteristics to synchronize. |
static void |
update(TopicMapIF target,
TopicIF source)
PUBLIC: Updates the target topic map against the source topic, including all characteristics from the source topic. |
static void |
update(TopicMapIF target,
TopicIF source,
DeciderIF tfilter)
PUBLIC: Updates the target topic map against the source topic, synchronizing only the characteristics from the target that are accepted by the filter. |
static void |
update(TopicMapIF target,
TopicIF source,
DeciderIF tfilter,
DeciderIF sfilter)
PUBLIC: Updates the target topic map against the source topic, synchronizing only the characteristics from the target and source that are accepted by the filters. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TopicMapSynchronizer()
Method Detail |
---|
public static void update(TopicMapIF target, TopicIF source)
public static void update(TopicMapIF target, TopicIF source, DeciderIF tfilter)
public static void update(TopicMapIF target, TopicIF source, DeciderIF tfilter, DeciderIF sfilter)
target
- the topic map to updatesource
- the topic to get updates fromtfilter
- filter for the target characteristics to updatesfilter
- filter for the source characteristics to includepublic static void update(TopicMapIF target, java.lang.String ttopicq, DeciderIF tchard, TopicMapIF source, java.lang.String stopicq, DeciderIF schard) throws InvalidQueryException
target
- the topic map to updatettopicq
- tolog query selecting the target topics to updatetchard
- filter for the target characteristics to updatesource
- the source topic mapstopicq
- tolog query selecting the source topics to useschard
- filter for the source characteristics to update
InvalidQueryException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |