|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object net.ontopia.topicmaps.query.impl.basic.PredicateFactory
public class PredicateFactory
INTERNAL: The basic predicate factory implementation.
Field Summary | |
---|---|
protected LocatorIF |
base
|
protected java.util.Map |
predicatesById
|
protected TopicMapIF |
topicmap
|
Constructor Summary | |
---|---|
PredicateFactory(TopicMapIF topicmap,
LocatorIF base)
|
Method Summary | |
---|---|
ModuleIF |
createModule(java.lang.String uri)
INTERNAL: Creates a module instance for the specified URI. |
PredicateIF |
createPredicate(ParsedRule rule)
INTERNAL: Creates a rule predicate for the parsed rule. |
PredicateIF |
createPredicate(java.lang.String name)
INTERNAL: Looks up a built-in predicate by its name. |
PredicateIF |
createPredicate(TopicIF type,
boolean assoc)
INTERNAL: Creates a dynamic predicate for the given topic; either an association predicate or an occurrence predicate, depending on the value of the assoc parameter. |
boolean |
isBuiltInPredicate(java.lang.String name)
INTERNAL: Used to find out if the given predicate name is the name of a built-in predicate. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected java.util.Map predicatesById
protected TopicMapIF topicmap
protected LocatorIF base
Constructor Detail |
---|
public PredicateFactory(TopicMapIF topicmap, LocatorIF base)
Method Detail |
---|
public PredicateIF createPredicate(java.lang.String name)
PredicateFactoryIF
createPredicate
in interface PredicateFactoryIF
public PredicateIF createPredicate(ParsedRule rule)
PredicateFactoryIF
createPredicate
in interface PredicateFactoryIF
public PredicateIF createPredicate(TopicIF type, boolean assoc)
PredicateFactoryIF
createPredicate
in interface PredicateFactoryIF
public ModuleIF createModule(java.lang.String uri)
PredicateFactoryIF
createModule
in interface PredicateFactoryIF
public boolean isBuiltInPredicate(java.lang.String name)
PredicateFactoryIF
isBuiltInPredicate
in interface PredicateFactoryIF
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |