org.objectweb.fractal.adl.xml
Class XMLLoader
java.lang.Object
org.objectweb.fractal.adl.xml.XMLLoader
- All Implemented Interfaces:
- Loader
- public class XMLLoader
- extends Object
- implements Loader
A Loader
that loads definitions from XML files.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
XMLLoader
public XMLLoader()
XMLLoader
public XMLLoader(boolean validate)
load
public Definition load(String name,
Map context)
throws ADLException
- Description copied from interface:
Loader
- Loads the ADL definition whose name is given.
- Specified by:
load
in interface Loader
- 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.