code: public CmsFormatterBean parseFormatter(String typeName, I_CmsXmlContentLocation node) {
  
          String type = getString(node.getSubValue(N_TYPE));
          String minWidth = getString(node.getSubValue(N_MIN_WIDTH));
          String maxWidth = getString(node.getSubValue(N_MAX_WIDTH));
          boolean preview = false;
          I_CmsXmlContentValueLocation previewLoc = node.getSubValue(N_IS_PREVIEW);
          preview = (previewLoc != null) && Boolean.parseBoolean(previewLoc.asString(m_cms));
          String jsp = m_cms.getRequestContext().addSiteRoot(getString(node.getSubValue(N_JSP)));
          boolean searchContent = true;
          CmsFormatterBean formatterBean = new CmsFormatterBean(
              type,
              jsp,
              minWidth,
              maxWidth,
              "" + preview,
              "" + searchContent,
              null);
          return formatterBean;
  
      }
docs: Parses a formatter bean.<p>
  
  @param typeName the type name for which the formatter is being parsed
  @param node the node from which to parse the formatter data
  
  @return the formatter bean from the XML