Package com.ugos.JIProlog.engine

Interface Summary
JIPEventListener JIPEventListeners are notified when an interpreter event has occured during execution.
JIPTraceListener JIPTraceListener receives JIPTraceEvent objects in one of its methods depending on the type of the events
 

Class Summary
JIPAtom JIPAtom wraps a prolog atom
JIPClause JIPClause wraps a prolog clause
JIPClausesDatabase JIPClausesDatabase is the base class for external database of clauses
To implement a custom database of clauses, developers should implement the following methods:
- setAttributes
- addClauseAt
- addClause
- removeClause
- clauses
For more information see the section "How to implement a custom detabase of clauses" in the Reference Manual.
JIPClausesEnumeration JIPClausesEnumeration is the base class to implement an enumeration of clauses contained in a custom database
Developers should implements the methods:
- nextClause
- hasMoreElements
For more information see the section "How to implement a custom database of clauses" in the Reference Manual.
JIPCons JIPList wraps a prolog cons (a cons is composed by a set of terms separated by comma eventually enclosed in parenthesis: a,b,c or (a,b,c,).
JIPEngine JIPEngine implements the JIProlog interpeter.
JIPErrorEvent JIPErrorEvent is used to notify an error or an exception occured during execution.
JIPEvent JIPEvent is used to notify an interpreter event occurred during the execution
JIPEventListeners receive a JIPEvent object in one of their methods depending on the type of event
JIPFunctor JIPFunctor wraps a prolog functor
JIPList JIPList wraps a prolog list
JIPNumber JIPNumber wraps a prolog number
JIPQuery JIPQuery wraps a single synchronous query.
JIPString JIPString wraps to a prolog string.
JIPTerm JIPTerm wraps generic prolog terms (atoms, functors, lists, etc.)
JIPTermParser JIPTermParser parses a prolog stream and create an enumeration of prologprolog terms (atom, functor, list, etc.)
JIPTraceEvent JIPTraceEvent is used to notify a thar a Trace event occured.
JIPVariable JIPVariable wraps a prolog variable
JIPXCall JIPXCall is the base class for custom built-in predicates.
 

Exception Summary
JIPInvalidHandleException JIPInvalidHandleException is the exception raised by a JIPEngine object when the query specified by a a given handle is not found.
JIPIsRunningException JIPIsRunningException is the exception raised by a JIPEngine object when the when nextSolution method is called while the interpreter is still running.
JIPJVMException JIPJVMException is the exception raised by the interpreter when a Java generic exception is raised during execution.
JIPParameterTypeException Exception raised when a built-in predicate find a parameter of unexpected type.
JIPParameterUnboundedException Exception raised when a built-in predicate find an unexpected unbonded variable.
JIPQueryClosedException JIPQueryClosedException is the exception raised by a JIPEngine object when the query specified by a a given handle was closed.
JIPRuntimeException JIPRuntimeException is the base class af all exceptions raised by JIProlog.
JIPSyntaxErrorException JIPSyntaxErrorException is an exception raised by the internal parser when there is a syntax error in the string to parse.