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

With 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;
}