Package net.ontopia.topicmaps.query.core
Interface QueryProcessorFactoryIF
- All Known Implementing Classes:
TologQueryProcessorFactory
public interface QueryProcessorFactoryIF
PUBLIC: Interface for query language implementations. An instance of a
QueryProcessorFactoryIF create an appropriate
QueryProcessorIF for the provided TopicMapIF.- Since:
- 5.1
-
Method Summary
Modifier and TypeMethodDescriptioncreateQueryProcessor(TopicMapIF topicmap, LocatorIF base, Map<String, String> properties) PUBLIC: Creates a newQueryProcessorIFinstance to query a given topic map.PUBLIC: Returns the query language that is used by thisQueryProcessorFactoryIFimplementation.
-
Method Details
-
getQueryLanguage
String getQueryLanguage()PUBLIC: Returns the query language that is used by thisQueryProcessorFactoryIFimplementation.- Returns:
- the name of this
QueryProcessorFactoryIFimplementation.
-
createQueryProcessor
QueryProcessorIF createQueryProcessor(TopicMapIF topicmap, LocatorIF base, Map<String, String> properties) PUBLIC: Creates a newQueryProcessorIFinstance to query a given topic map.- Parameters:
topicmap- the topic map to be used by the query processor.base- base address of the topic map if known.properties- additional properties used to configure the query processor.- Returns:
- a
QueryProcessorIFinstance that can be used to query the topic map.
-