code: protected XmlSchemaTotalDigitsFacet createTotalDigitsFacet(
              final int totalDigits) {
          XmlSchemaTotalDigitsFacet xmlSchemaTotalDigitsFacet = new XmlSchemaTotalDigitsFacet();
          xmlSchemaTotalDigitsFacet.setValue(totalDigits);
          return xmlSchemaTotalDigitsFacet;
      }
docs: Create an XML schema totalDigits facet.
  
  @param totalDigits the value to set
  @return an XML schema totalDigits facet