code: public Object saveState(FacesContext context) {
  
          if (context == null) {
              throw new NullPointerException();
          }
          if (!initialStateMarked()) {
              Object values[] = new Object[11];
              values[0] = currencyCode;
              values[1] = currencySymbol;
              values[2] = groupingUsed;
              values[3] = integerOnly;
              values[4] = maxFractionDigits;
              values[5] = maxIntegerDigits;
              values[6] = minFractionDigits;
              values[7] = minIntegerDigits;
              values[8] = locale;
              values[9] = pattern;
              values[10] = type;
              return (values);
          }
          return null;
  
      }
docs: ----------------------------------------------------- StateHolder Methods