org.objectweb.fractal.adl
Class CheckingLoader
java.lang.Object
org.objectweb.fractal.adl.DelegatingLoader
org.objectweb.fractal.adl.CachingLoader
org.objectweb.fractal.adl.CheckingLoader
- All Implemented Interfaces:
- BindingController, Loader
- public class CheckingLoader
- extends CachingLoader
A CachingLoader
that checks typing constraints on
the elements it loads.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
CheckingLoader
public CheckingLoader()
handleTypeDescriptor
protected XMLElement handleTypeDescriptor(String name,
XMLElement desc)
throws ParserException
- Description copied from class:
DelegatingLoader
- Handles a type descriptor that has just been loaded by the
delegate
.
- Specified by:
handleTypeDescriptor
in class DelegatingLoader
- Parameters:
name
- the name of the type descriptor.desc
- a type descriptor.
- Returns:
- the given type descriptor, possibly modified by this method.
- Throws:
ParserException
- if the type descriptor is invalid.
handleTemplateDescriptor
protected XMLElement handleTemplateDescriptor(String name,
XMLElement desc)
throws ParserException
- Description copied from class:
DelegatingLoader
- Handles a template descriptor that has just been loaded by the
delegate
.
- Specified by:
handleTemplateDescriptor
in class DelegatingLoader
- Parameters:
name
- the name of the template descriptor.desc
- a template descriptor.
- Returns:
- the given template descriptor, possibly modified by this method.
- Throws:
ParserException
- if the template descriptor is invalid.