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) 2005 Sandia National Laboratories

See Also:
Rete.setFactory(Factory)

Method Summary
 Token newToken(Fact firstFact, int tag)
           
 Token newToken(Token t)
           
 Token newToken(Token t, Fact newFact)
           
 Token newToken(Token lt, Token rt)
           
 

Method Detail

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

© 2006 Sandia Corporation