code: protected void initFormatters(Element root, CmsXmlContentDefinition contentDefinition) {
  
          // reading the include resources common for all formatters
          Iterator<Element> itFormatter = CmsXmlGenericWrapper.elementIterator(root, APPINFO_FORMATTER);
          while (itFormatter.hasNext()) {
              // iterate all "formatter" elements in the "formatters" node
              Element element = itFormatter.next();
              String type = element.attributeValue(APPINFO_ATTR_TYPE);
              if (CmsStringUtil.isEmptyOrWhitespaceOnly(type)) {
                  // if not set use "*" as default for type
                  type = CmsFormatterBean.WILDCARD_TYPE;
              }
              String jspRootPath = element.attributeValue(APPINFO_ATTR_URI);
              String minWidthStr = element.attributeValue(APPINFO_ATTR_MINWIDTH);
              String maxWidthStr = element.attributeValue(APPINFO_ATTR_MAXWIDTH);
              String preview = element.attributeValue(APPINFO_ATTR_PREVIEW);
              String searchContent = element.attributeValue(APPINFO_ATTR_SEARCHCONTENT);
              m_formatters.add(
                  new CmsFormatterBean(
                      type,
                      jspRootPath,
                      minWidthStr,
                      maxWidthStr,
                      preview,
                      searchContent,
                      contentDefinition.getSchemaLocation()));
          }
      }
docs: Initializes the formatters for this content handler.<p>
  
  @param root the "formatters" element from the appinfo node of the XML content definition
  @param contentDefinition the content definition the formatters belong to