code: public static Object getConvertedUISelectManyValue(
              FacesContext facesContext, UISelectMany selectMany,
              Object submittedValue, boolean considerValueType)
              throws ConverterException
      {
          if (submittedValue == null)
          {
              return null;
          }
  
          if (!(submittedValue instanceof String[]))
          {
              throw new ConverterException(
                      "Submitted value of type String[] for component : "
                              + getPathToComponent(selectMany) + "expected");
          }
  
          return _SharedRendererUtils.getConvertedUISelectManyValue(facesContext,
                  selectMany, (String[]) submittedValue, considerValueType);
      }
docs: Gets the converted value of a UISelectMany component.
  
  @param facesContext
  @param selectMany
  @param submittedValue
  @param considerValueType if true, the valueType attribute of the component will
  also be used (applies for Tomahawk UISelectMany components)
  @return
  @throws ConverterException