'ZanoOnStack' gave a good idea so if anyone else need that this is a proper solution:
InputFilter[] FilterArray = new InputFilter[1];
FilterArray[0] = new InputFilter.AllCaps();
txtProductInput.setFilters(FilterArray);
On this way it is possible to add more other types of filters.