Skip to content

Module descriptors file

This page is the generated field list for ModuleDescriptors.xml — the file that tells FEWS which Java class implements each module type (General Adapter, Import, Export, Transformation, and so on).

Purpose : Registers a module type’s id against the class that runs it. A module instance later refers to one of these ids by using the matching root element in its Config/ModuleConfigFiles/ config file (e.g. a file whose root is <generalAdapterRun> is handled by the GeneralAdapter descriptor).

Folder : Config/RegionConfigFiles/

Root element : <moduleDescriptors> (version="1.0", required)

References : Nothing config-side — it points at a Java class on the FEWS classpath.

Config/RegionConfigFiles/ModuleDescriptors.xml
<?xml version="1.0" encoding="UTF-8"?>
<moduleDescriptors xmlns="http://www.wldelft.nl/fews" version="1.0">
<moduleDescriptor id="GeneralAdapter">
<description>Bridges FEWS to an external model executable</description>
<className>nl.wldelft.fews.system.plugin.adapter.GeneralAdapterModule</className>
</moduleDescriptor>
</moduleDescriptors>

Auto-generated from moduleDescriptors.xsd. Descriptions are the schema's own annotations.

Element <moduleDescriptors>

Attributes

AttributeUseNotes
version required fixed: 1.0.

Elements

ElementTypeCardinalityDescription
moduleDescriptor ModuleDescriptorComplexType required · repeats

ModuleDescriptorComplexType

Attributes

AttributeUseNotes
id required
name optional

Elements

ElementTypeCardinalityDescription
description string optional
className string required