jess.factory
Class FactoryImpl
java.lang.Object
jess.factory.FactoryImpl
- All Implemented Interfaces:
- Factory, java.io.Serializable
- public class FactoryImpl
- extends java.lang.Object
- implements Factory, java.io.Serializable
The default token factory implementation. This class just forwards
each method to the equivalent Token constructor.
(C) 2005 Sandia National Laboratories
- See Also:
Rete.setFactory(Factory)
,
Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FactoryImpl
public FactoryImpl()
newToken
public Token newToken(Fact firstFact,
int tag)
throws JessException
- Specified by:
newToken
in interface Factory
- Throws:
JessException
newToken
public Token newToken(Token token,
Fact newFact)
throws JessException
- Specified by:
newToken
in interface Factory
- Throws:
JessException
newToken
public Token newToken(Token lt,
Token rt)
throws JessException
- Specified by:
newToken
in interface Factory
- Throws:
JessException
newToken
public Token newToken(Token token)
throws JessException
- Specified by:
newToken
in interface Factory
- Throws:
JessException