code: protected XmlSchemaSimpleTypeRestriction createRestriction(
              final String xsdTypeName) {
          XmlSchemaSimpleTypeRestriction restriction = new XmlSchemaSimpleTypeRestriction();
          restriction.setBaseTypeName(new QName(
                  XMLConstants.W3C_XML_SCHEMA_NS_URI, xsdTypeName));
          return restriction;
      }
docs: Create an XML schema restriction.
  
  @param xsdTypeName the XML schema built-in type name to use as a
  restriction
  @return an XML schema restriction