jess.factory
Interface Factory
- All Known Implementing Classes:
- FactoryImpl
- public interface Factory
A factory for Rete network Token
objects. Jess will use these methods
rather than creating any Token objects directly. This allows Jess
extensions to add information to Token instances by providing a subclass.
(C) 2006 Sandia National Laboratories
- See Also:
Rete.setFactory(Factory)
newToken
public Token newToken(Fact firstFact,
int tag)
throws JessException
- Throws:
JessException
newToken
public Token newToken(Token t,
Fact newFact)
throws JessException
- Throws:
JessException
newToken
public Token newToken(Token lt,
Token rt)
throws JessException
- Throws:
JessException
newToken
public Token newToken(Token t)
throws JessException
- Throws:
JessException