code: @Override
      public Object exec(@SuppressWarnings("rawtypes") List arguments) throws TemplateModelException {
          if (arguments == null || arguments.isEmpty()) {
              return "";
          }
          String str = (String) arguments.get(0);
  //		return WordUtils.capitalizeFully(str);
          return titlecase ? toTitleCase(str) : str;
      }
docs: /* (non-Javadoc)
  @see freemarker.template.TemplateMethodModel#exec(java.util.List)