org.objectweb.fractal.adl
Class VerifyingLoader
java.lang.Object
org.objectweb.fractal.adl.DelegatingLoader
org.objectweb.fractal.adl.VerifyingLoader
- All Implemented Interfaces:
- BindingController, Loader
- public class VerifyingLoader
- extends DelegatingLoader
A DelegatingLoader
that verifies that the loaded
elements conform to the Fractal ADL DTD.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VerifyingLoader
public VerifyingLoader()
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.