if (!simpleType.isBuiltInType()) {
xsInteger.setFacets(simpleType);
}
return xsInteger;
case SimpleTypesFactory.INT_TYPE: //-- int
XSInt xsInt = new XSInt(useWrapper);
if (!simpleType.isBuiltInType()) {
xsInt.setFacets(simpleType);
}
return xsInt;
case SimpleTypesFactory.LANGUAGE_TYPE: //-- Language
//-- since we don't actually support this type, yet, we'll simply treat
//-- it as a string, but warn the user.