Jadex 0.96-beta1

jadex.model
Interface IModelLoader


public interface IModelLoader

Model loader have to implement this interface used by SXML.


Method Summary
 ObjectCache getModelCache()
          Get 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(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

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

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

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

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

Returns:
The loaded model.
Throws:
IOException

getModelCache

ObjectCache getModelCache()
Get the model cache.

Returns:
filename The filename to clear, null for all.

Jadex 0.96-beta1

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-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.