Javadoc Tags
Configuration Tag
The optional configuration tag allows the declaration of a validation schema with a component type.
Attributes
Attribute | Required | Description |
---|---|---|
schema | yes | The validate schema name. |
Example
/** * Configuration of the component by the container. * @param config the configuration instance * @exception ConfigurationException if error occurs * @avalon.configuration schema="your-schema-spec" */ public void configure( Configuration config ) throws ConfigurationException { ... }
Generated meta-info type descriptor:
<type> <info> <schema>your-schema-spec</schema> </info> </type>