-
Notifications
You must be signed in to change notification settings - Fork 37
Module Configuration
highsource edited this page Dec 23, 2014
·
4 revisions
<jsonix:module
name="ModuleName">
...
<jsonix:mapping ... />
...
<jsonix:output ... />
...
</jsonix:module>
-
name
, optional - name of the module. If omitted, the name of the module will be generated based on the names of the mappings included into this module. Mapping names will be concatenated with the underscore_
as separator. For instance if a module contains two mappings namedFoo
andBar
, the module will be namedFoo_Bar
by default. -
mapping
, required one or more - specifies and configures mappings which will be included into this module. See Mapping Configuration. -
output
, optional zero or more - specifies output configurations which will be applied when writing out this module. See Output Configuration.
<jsonix:module>
<jsonix:output naming="compact"/>
<jsonix:mapping package="org.w3.smil.v_2_0" name="SMIL_2_0"/>
<jsonix:mapping package="org.w3.smil.v_2_0.language" name="SMIL_2_0_Language"/>
</jsonix:module>
Generates the module named SMIL_2_0_SMIL_2_0_Language
which contains mappings SMIL_2_0
and SMIL_2_0_Language
. This module will be written out using the compact naming. The file name pattern defaults to ${module.name}.compact.js
so this module will be written out into the file SMIL_2_0_SMIL_2_0_Language.compact.js
.
- Usage
- Basic Concepts
- Generation
- Configuration
- Advanced Topics
- Sample Projects
- Troubleshooting
- Development