if (!Utility.isValidEncoding(strEncoding)) {
if (!Utility.isValidIOEncoding(strEncoding)) {
  public String setEncoding (String strEncoding)  {    if (!Utility.isValidEncoding(strEncoding)) {      Log.error("not valid encoding.  'set' request ingored. returning null");      return null;    }    return (String) ((XMLAttribute) attribHash.get("encoding")).setAttribValue(strEncoding);  }