code: protected void initHeadIncludes(Element root, CmsXmlContentDefinition contentDefinition) {
  
          Iterator<Element> itInclude = CmsXmlGenericWrapper.elementIterator(root, APPINFO_HEAD_INCLUDE);
          while (itInclude.hasNext()) {
              Element element = itInclude.next();
              String type = element.attributeValue(APPINFO_ATTR_TYPE);
              String uri = element.attributeValue(APPINFO_ATTR_URI);
              if (CmsStringUtil.isNotEmptyOrWhitespaceOnly(uri)) {
                  if (ATTRIBUTE_INCLUDE_TYPE_CSS.equals(type)) {
                      m_cssHeadIncludes.add(uri);
                  } else if (ATTRIBUTE_INCLUDE_TYPE_JAVASCRIPT.equals(type)) {
                      m_jsHeadIncludes.add(uri);
                  }
              }
          }
      }
docs: Initializes the head includes for this content handler.<p>
  
  @param root the "headincludes" element from the appinfo node of the XML content definition
  @param contentDefinition the content definition the head-includes belong to