Jadex 0.941

jadex.model
Interface IModelLoader


public interface IModelLoader

Model loader have to implement this interface used by SXML.


Method Summary
 void clearModelCache()
          Clear the model cache.
 IMBDIAgent loadAgentModel(String name, String[] imports)
          Load an agent model.
 IMCapability loadCapabilityModel(String name, String[] imports, IMElement owner)
          Load a capability model.
 IMElement loadModel(SUtil.ResourceInfo rinfo)
          Loads any xml Jadex model (e.g. agent, capability, or propertybase).
 IMPropertybase loadPropertyModel(String name, String[] imports, IMElement owner)
          Load a properties model.
 

Method Detail

loadAgentModel

public IMBDIAgent loadAgentModel(String name,
                                 String[] imports)
                          throws IOException
Load an agent model.

Parameters:
name - The agent name.
imports - The imports (if any).
Throws:
IOException

loadCapabilityModel

public IMCapability loadCapabilityModel(String name,
                                        String[] imports,
                                        IMElement owner)
                                 throws IOException
Load a capability model.

Parameters:
name - The capability name.
imports - The imports (if any).
owner - The owner.
Throws:
IOException

loadPropertyModel

public IMPropertybase loadPropertyModel(String name,
                                        String[] imports,
                                        IMElement owner)
                                 throws IOException
Load a properties model.

Parameters:
name - The properties name.
imports - The imports (if any).
owner - The owner.
Throws:
IOException

loadModel

public IMElement loadModel(SUtil.ResourceInfo rinfo)
                    throws IOException
Loads any xml Jadex model (e.g. agent, capability, or propertybase). Used from Jadexdoc.

Returns:
The loaded model.
Throws:
IOException

clearModelCache

public void clearModelCache()
Clear the model cache. Needed for being able to reload models.


Jadex 0.941

Submit a bug or feature
For further API reference and developer documentation, see the Jadex User Guide and the Jadex Tutorial. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, and working code examples.

Copyright (C) 2002-2005 Lars Braubach, Alexander Pokahr, Andrzej Walczak - University of Hamburg. Use is subject to license terms.