| Home >> All >> org >> tm4j >> [ tolog Javadoc ] |
| | org.tm4j.tolog.parser.* (38) | | org.tm4j.tolog.test.* (2) |
org.tm4j.tolog: Javadoc index of package org.tm4j.tolog.
Package Samples:
org.tm4j.tolog.test
org.tm4j.tolog.parser
Classes:
QueryEvaluator: This is the main "engine" of the tolog query system. To use this class, follow these steps: Create the QueryEvaluator - the constructor takes as a parameter the Topic Map you want to query [OPTIONAL] Register any extension predicate handlers by calling registerExtension(String, Class) 55 If you want a specific sort ordering, register a Comparator to do this ordering by calling setSortComparator(Comparator) 55 Call evaluate(String) 55 to parse and perform the query. This will return a TologResultsSet . By default, two extensions are automatically registered with the QueryEvaluator. These are the ...
ParseException: This exception is thrown when parse errors are encountered. You can explicitly create objects of this exception type by calling the method generateParseException in the generated parser. You can modify this class to customize your error reporting mechanisms so long as you retain the public fields.
TologResultsSet: This interface represents a collection of results from a single Tolog query. The collection is somewhat similar to a JDBC results set and can be thought of as a table consisting of a number of named columns with one row for each distinct match to the Tolog query.
Extension: Classes which implement this interface can be used to provide extension predicates to the Tolog language. To be loaded, an Extension implementation must also provide a no-arguments constructor.
TologParserException: Exception thrown if an error is encountered while parsing a Tolog query or rule. The message of the exception details the error encountered.
TologEvaluationException: Exception thrown if an error is encountered while processing a Tolog query. The message of the exception details the error encountered.
SimpleCharStream: An implementation of interface CharStream, where the stream is assumed to contain only ASCII characters (without unicode processing).
TologFragmentBuilderException: Exception raised by the TologFragmentBuilder interface when exporting a TologResultsSet object into a topic map fragment.
PlayerRole: Interface to a special member/player pair in which each of the elements can be either a value (a Topic) or a variable.
TologFragmentBuilder: The interface for implementations which export a TologResultsSet into a TopicMapFragment.
TologFragmentBuilderImpl: Default implementation of the TologFragmentBuilder interface.
Token: Describes the input token stream.
DirectInstanceOfExtension
Test
InstanceOfExtension
TologResultsSetImpl
SimpleNode
ASTSubjectRef
ASTRole
TologTokenManager
ASTParameter
| Home | Contact Us | Privacy Policy | Terms of Service |