The map function

The map function is used to design a dynamic type when its related schema type is known.

The map function is used to design a dynamic type when its related schema type is known.

Example of a map function

Wih a simple type MyT defined as:

<simpleType name="MyT">
  <restriction base="string">
</simpleType>

you have, map(MyT) = java.lang.String.

The following expression:

class C 
{ 
 [map(MyT)] myField;
}

stands for:

class C
{
  java.lang.String myField;
}