org.objectweb.fractal.adl
Interface Loader

All Known Implementing Classes:
AbstractLoader, XMLLoader

public interface Loader

An ADL definition loader. Definitions can be loaded from arbitrary sources, and can be checked and transformed during the loading process.


Method Summary
 Definition load(String name, Map context)
          Loads the ADL definition whose name is given.
 

Method Detail

load

public Definition load(String name,
                       Map context)
                throws ADLException
Loads the ADL definition whose name is given.

Parameters:
name - the name of an ADL definition.
context - optional additional information.
Returns:
the ADL definition whose name is given.
Throws:
ADLException - if the definition cannot be found, or if it contains errors.