This illustration shows a type translation XML mapping for the number attribute of the PhoneNumber class. The Java attribute is not specific enough to preserve the typing. The simple type translator adds the type information to the resulting document to preserve the typing.