gov.sandia.cognition.framework.lite
Class BooleanActivatableCogxelFactory

java.lang.Object
  extended by 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

Field Summary
static BooleanActivatableCogxelFactory INSTANCE
          An instance of the factory since it has no internal state.
 
Constructor Summary
BooleanActivatableCogxelFactory()
          Creates a new instance of BooleanActivatableCogxelFactory.
 
Method Summary
 Cogxel createCogxel(SemanticIdentifier identifier)
          Creates a new Cogxel for the given CogxelFactory from the given SemanticIdentifier.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

INSTANCE

public static final BooleanActivatableCogxelFactory INSTANCE
An instance of the factory since it has no internal state.

Constructor Detail

BooleanActivatableCogxelFactory

public BooleanActivatableCogxelFactory()
Creates a new instance of BooleanActivatableCogxelFactory.

Method Detail

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.