gov.sandia.cognition.framework.lite
Class BooleanActivatableCogxelFactory
java.lang.Object
gov.sandia.cognition.framework.lite.BooleanActivatableCogxelFactory
- All Implemented Interfaces:
- CogxelFactory, Serializable
public class BooleanActivatableCogxelFactory
- extends Object
- implements CogxelFactory, Serializable
This class implements a CogxelFactory, which creates ActivatableCogxels.
- Since:
- 1.0
- Author:
- Jonathan McClain
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INSTANCE
public static final BooleanActivatableCogxelFactory INSTANCE
- An instance of the factory since it has no internal state.
BooleanActivatableCogxelFactory
public BooleanActivatableCogxelFactory()
- Creates a new instance of BooleanActivatableCogxelFactory.
createCogxel
public Cogxel createCogxel(SemanticIdentifier identifier)
- Creates a new Cogxel for the given CogxelFactory from the given
SemanticIdentifier. If this factory can create a Cogxel from the given
SemanticLabel, then a new Cogxel with that label is created. If the
factory cannot create a Cogxel for the given SemanticIdentifier, then
null is returned.
- Specified by:
createCogxel
in interface CogxelFactory
- Parameters:
identifier
- The SemanticIdentifier of the new Cogxel
- Returns:
- A new Cogxel for the given model from the given identifier, if
the factory can create a Cogxel from the given identifier. If
it cannot, null is returned.