code: protected XmlSchemaSimpleType createXmlSchemaSimpleType(
              final XmlSchemaSimpleTypeRestriction restriction) {
          XmlSchemaSimpleType xmlSchemaSimpleType = new XmlSchemaSimpleType(
                  getXsd(), false);
          xmlSchemaSimpleType.setContent(restriction);
          return xmlSchemaSimpleType;
      }
docs: Create an XML schema simple type from a restriction.
  
  @param restriction the XML schema restriction
  @return the XML schema simple type