-
Notifications
You must be signed in to change notification settings - Fork 37
Mapping Configuration
Alexey Valikov edited this page Apr 27, 2015
·
4 revisions
<jsonix:mapping
package="org.hisrc.jsonix.demos.po"
name="PO"
schemaId="${mapping.targetNamespace}#"
id="..."
defaultElementNamespaceURI="..."
defaultAttributeNamespaceURI="..."
name="XLink_1_0">
<jsonix:includes .../>
<jsonix:excludes .../>
</jsonix:mapping>
-
package
- name of the target package, required. See Associating Configuration Elements with Schemas. -
name
- name of the mapping, optional. If omitted, will be generated based on the name of the targetpackage
. If target package is unnamed, theMapping
name will be used. Otherwise all.
will be replaced with_
. So fororg.hisrc.jsonix.demos.po
the result would beorg_hisrc_jsonix_demos_po
. -
schemaId
- id of the JSON Schema for this mapping, optional.
Supports expressions${module.schemaId}
,${module.name}
,${mapping.name}
,${mapping.targetNamespace}
.
If omitted, defaults to${mapping.targetNamespace}#
.
See JSON Schema Generation. -
id
- uniqueid
of the mapping, optional. If omitted, will be generated based on the name of the mapping. -
defaultElementNamespaceURI
- default element namespace URI for the mapping, optional. If omitted, will be calculated automatically as the most used element namespace URI in the mapping. -
defaultAttributeNamespaceURI
- default attribute namespace URI for the mapping, optional. If omitted, will be calculated automatically as the most used attribute namespace URI in the mapping. -
includes
- specifies, which items (elements, types, properties or dependencies of other mappings) should be included into the mapping. If omitted, all items (unless excluded) will be included. See Includes Configuration. -
excludes
- specifies, which items (elements, types, properties) should be excluded from this mapping. If omitted, no items will be excluded. See Excludes Configuration.
- Usage
- Basic Concepts
- Generation
- Configuration
- Advanced Topics
- Sample Projects
- Troubleshooting
- Development