Package net.ontopia.topicmaps.utils
Class NullResolvingExternalReferenceHandler
- java.lang.Object
-
- net.ontopia.topicmaps.utils.NullResolvingExternalReferenceHandler
-
- All Implemented Interfaces:
ExternalReferenceHandlerIF
public class NullResolvingExternalReferenceHandler extends Object implements ExternalReferenceHandlerIF
PUBLIC: An implementation of ExternalReferenceHandlerIF that prevents the traversal of external references by returning null from all methods.- Since:
- 1.3.4
-
-
Constructor Summary
Constructors Constructor Description NullResolvingExternalReferenceHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LocatorIF
externalTopic(LocatorIF parm1)
PUBLIC: always returns nullLocatorIF
externalTopicMap(LocatorIF parm1)
PUBLIC: always returns null
-
-
-
Method Detail
-
externalTopicMap
public LocatorIF externalTopicMap(LocatorIF parm1)
PUBLIC: always returns null- 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 parm1)
PUBLIC: always returns null- 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.
-
-