Namespace mapping
The mappings between java package name and C++ namespace class are fully customizable inside the xml mappings files.
<mappings> <namespaces> <namespace package="demo.*">cppDemo</namespace> <namespace package="demo.Sample">otherNamespace</namespace> </namespaces> </mappings>
You can define a set of package/namespace mappings rules with wildcard and regex. Like for URIs, the rule that match the best package name is used.
For example :
-
demo.SamplebecomesotherNamespace::Sample -
demo.Interface1becomescppDemo::Interface1 -
java.demo.Samplebecomesjava::demo::Sample