Package net.ontopia.topicmaps.utils
Class NoFollowTopicRefExternalReferenceHandler
- java.lang.Object
-
- net.ontopia.topicmaps.utils.NoFollowTopicRefExternalReferenceHandler
-
- All Implemented Interfaces:
ExternalReferenceHandlerIF
public class NoFollowTopicRefExternalReferenceHandler extends Object implements ExternalReferenceHandlerIF
PUBLIC: An implementation of ExternalReferenceHandlerIF that prevents the traversal of external topic references. External topic maps will be resolved.- Since:
- 3.2
-
-
Constructor Summary
Constructors Constructor Description NoFollowTopicRefExternalReferenceHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocatorIF
externalTopic(LocatorIF loc)
PUBLIC: External topics are not resolved.LocatorIF
externalTopicMap(LocatorIF loc)
PUBLIC: External topic maps are resolved.
-
-
-
Method Detail
-
externalTopicMap
public LocatorIF externalTopicMap(LocatorIF loc)
PUBLIC: External topic maps are resolved.- Specified by:
externalTopicMap
in interfaceExternalReferenceHandlerIF
- Returns:
- The locator which should be used to resolve the reference; if null is returned it will be interpreted as that the reference should not be traversed.
-
externalTopic
public LocatorIF externalTopic(LocatorIF loc)
PUBLIC: External topics are not resolved.- Specified by:
externalTopic
in interfaceExternalReferenceHandlerIF
- Returns:
- The locator which should be used to resolve the reference; if null is returned it will be interpreted as that the reference should not be traversed.
-
-