net.ontopia.topicmaps.xml
Interface ExternalReferenceHandlerIF

All Known Implementing Classes:
NoFollowTopicRefExternalReferenceHandler, NullResolvingExternalReferenceHandler

public interface ExternalReferenceHandlerIF

PUBLIC: An interface that can be implemented by handlers that would like to intercept external references in topic map documents.


Method Summary
 LocatorIF externalTopic(LocatorIF address)
          PUBLIC: Receive notification of a reference to an external topic.
 LocatorIF externalTopicMap(LocatorIF address)
          PUBLIC: Receive notification of a reference to an external topic map.
 

Method Detail

externalTopicMap

LocatorIF externalTopicMap(LocatorIF address)
PUBLIC: Receive notification of a reference to an external topic map.

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

LocatorIF externalTopic(LocatorIF address)
PUBLIC: Receive notification of a reference to an external topic.

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.


Copyright © 2000-2012 Ontopia.