if (!simpleType.isBuiltInType()) {
xsDouble.setFacets(simpleType);
}
return xsDouble;
case SimpleTypesFactory.DURATION_TYPE: //-- duration
XSDuration xsDuration = new XSDuration();
if (!simpleType.isBuiltInType()) {
xsDuration.setFacets(simpleType);
}
return xsDuration;
case SimpleTypesFactory.DECIMAL_TYPE: //-- decimal
XSDecimal xsDecimal = new XSDecimal();
if (!simpleType.isBuiltInType()) {