code: public Object getFormatFor() {
  
          Transformer mapFunction = new Transformer() {
  
              public Object transform(Object param) {
  
                  if (m_functionBean == null) {
                      return new CmsDynamicFunctionFormatWrapper(m_cms, null);
                  }
                  int width = -1;
                  String type = null;
                  boolean isWidth = false;
                  if (param instanceof Long) {
                      width = (int)((Long)param).longValue();
                      isWidth = true;
                  } else if (param instanceof Integer) {
                      width = ((Integer)param).intValue();
                      isWidth = true;
                  } else {
                      type = param.toString();
                  }
                  Format format;
                  if (isWidth) {
                      format = m_functionBean.getFormatForContainer(m_cms, "", width);
                  } else {
                      format = m_functionBean.getFormatForContainer(m_cms, type, -1);
                  }
                  CmsDynamicFunctionFormatWrapper wrapper = new CmsDynamicFunctionFormatWrapper(m_cms, format);
                  return wrapper;
              }
          };
          return CmsCollectionsGenericWrapper.createLazyMap(mapFunction);
      }
docs: Gets the lazy map for accessing the various function formats.<p>
  
  @return a map which allows access to the various function formats