Class PredicateFactory
java.lang.Object
net.ontopia.topicmaps.query.impl.basic.PredicateFactory
- All Implemented Interfaces:
PredicateFactoryIF
INTERNAL: The basic predicate factory implementation.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateModule(String uri) INTERNAL: Creates a module instance for the specified URI.createPredicate(String name) INTERNAL: Looks up a built-in predicate by its name.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.createPredicate(ParsedRule rule) INTERNAL: Creates a rule predicate for the parsed rule.booleanisBuiltInPredicate(String name) INTERNAL: Used to find out if the given predicate name is the name of a built-in predicate.
-
Field Details
-
predicatesById
-
topicmap
-
base
-
-
Constructor Details
-
PredicateFactory
-
-
Method Details
-
createPredicate
Description copied from interface:PredicateFactoryIFINTERNAL: Looks up a built-in predicate by its name.- Specified by:
createPredicatein interfacePredicateFactoryIF
-
createPredicate
Description copied from interface:PredicateFactoryIFINTERNAL: Creates a rule predicate for the parsed rule.- Specified by:
createPredicatein interfacePredicateFactoryIF
-
createPredicate
Description copied from interface:PredicateFactoryIFINTERNAL: Creates a dynamic predicate for the given topic; either an association predicate or an occurrence predicate, depending on the value of the assoc parameter.- Specified by:
createPredicatein interfacePredicateFactoryIF
-
createModule
Description copied from interface:PredicateFactoryIFINTERNAL: Creates a module instance for the specified URI. If the predicate factory does not recognize the URI null is returned.- Specified by:
createModulein interfacePredicateFactoryIF
-
isBuiltInPredicate
Description copied from interface:PredicateFactoryIFINTERNAL: Used to find out if the given predicate name is the name of a built-in predicate. Needed for error checking, see bug #1082.- Specified by:
isBuiltInPredicatein interfacePredicateFactoryIF
-