net.ontopia.topicmaps.query.impl.basic
Class JavaModule
java.lang.Object
net.ontopia.topicmaps.query.impl.basic.JavaModule
- All Implemented Interfaces:
- ModuleIF
public class JavaModule
- extends java.lang.Object
- implements ModuleIF
EXPERIMENTAL: A query module that is able to instantiate predicates
when given a java class name.
Example: import "urn:x-java:net.ontopia.topicmaps.query.spi.LuceneSearcher?index=/tmp/myindex" as lucene
Method Summary |
PredicateIF |
getPredicate(java.lang.String name)
INTERNAL: Returns the predicate with the given local name inside
the module. |
protected java.util.Map |
parseParameters(java.lang.String parameters)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MODULE_PREFIX
public static final java.lang.String MODULE_PREFIX
- See Also:
- Constant Field Values
topicmap
protected TopicMapIF topicmap
moduleURI
protected java.lang.String moduleURI
JavaModule
public JavaModule(TopicMapIF topicmap,
java.lang.String moduleURI)
getPredicate
public PredicateIF getPredicate(java.lang.String name)
- Description copied from interface:
ModuleIF
- INTERNAL: Returns the predicate with the given local name inside
the module.
- Specified by:
getPredicate
in interface ModuleIF
- Parameters:
name
- The local name of the predicate; that is the part of
the QName after the colon.
parseParameters
protected java.util.Map parseParameters(java.lang.String parameters)
Copyright © 2000-2012 Ontopia.