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
 QueryProcessorIF createQueryProcessor(TopicMapIF topicmap, LocatorIF base, java.util.Map<java.lang.String,java.lang.String> properties)
          PUBLIC: Creates a new QueryProcessorIF instance to query a given topic map.
 java.lang.String getQueryLanguage()
          PUBLIC: Returns the query language that is used by this QueryProcessorFactoryIF implementation.
 

Method Detail

getQueryLanguage

java.lang.String getQueryLanguage()
PUBLIC: Returns the query language that is used by this QueryProcessorFactoryIF implementation.

Returns:
the name of this QueryProcessorFactoryIF implementation.

createQueryProcessor

QueryProcessorIF createQueryProcessor(TopicMapIF topicmap,
                                      LocatorIF base,
                                      java.util.Map<java.lang.String,java.lang.String> properties)
PUBLIC: Creates a new QueryProcessorIF instance 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 QueryProcessorIF instance that can be used to query the topic map.


Copyright © 2000-2012 Ontopia.