gov.sandia.cognition.framework
Interface CogxelFactory

All Known Implementing Classes:
BooleanActivatableCogxelFactory, DefaultCogxelFactory

public interface CogxelFactory

The CogxelFactory interface defines the functionality required for an object to be used to create a Cogxel for a CognitiveModel.

Since:
1.0
Author:
Justin Basilico, Kevin R. Dixon

Method Summary
 Cogxel createCogxel(SemanticIdentifier identifier)
          Creates a new Cogxel for the given CogxelFactory from the given SemanticIdentifier.
 

Method Detail

createCogxel

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.

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.