nrc.fuzzy.jess
Class FuzzyFactoryImpl

java.lang.Object
  |
  +--nrc.fuzzy.jess.FuzzyFactoryImpl
All Implemented Interfaces:
jess.factory.Factory, java.io.Serializable

public class FuzzyFactoryImpl
extends java.lang.Object
implements jess.factory.Factory, java.io.Serializable

FuzzyFactory implementation (perhaps should be called TokenFactory instead of Factory) that provides newToken methods that return FuzzyToken objects instead of standard Jess Token objects when using the FuzzyJ extensions. FuzzyToken is an extension of the Jess Token class.

See Also:
FuzzyToken, Serialized Form

Constructor Summary
FuzzyFactoryImpl()
           
 
Method Summary
 jess.Token newToken(jess.Fact firstFact, int tag)
           
 jess.Token newToken(jess.Token t)
           
 jess.Token newToken(jess.Token t, jess.Fact newFact)
           
 jess.Token newToken(jess.Token lt, jess.Token rt)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FuzzyFactoryImpl

public FuzzyFactoryImpl()
Method Detail

newToken

public jess.Token newToken(jess.Fact firstFact,
                           int tag)
                    throws jess.JessException
Specified by:
newToken in interface jess.factory.Factory
jess.JessException

newToken

public jess.Token newToken(jess.Token t,
                           jess.Fact newFact)
                    throws jess.JessException
Specified by:
newToken in interface jess.factory.Factory
jess.JessException

newToken

public jess.Token newToken(jess.Token lt,
                           jess.Token rt)
                    throws jess.JessException
Specified by:
newToken in interface jess.factory.Factory
jess.JessException

newToken

public jess.Token newToken(jess.Token t)
                    throws jess.JessException
Specified by:
newToken in interface jess.factory.Factory
jess.JessException