code: public void parse(CmsResource resource) throws CmsException {
  
          CmsFile file = m_cms.readFile(resource);
          m_resource = resource;
          CmsXmlContent content = CmsXmlContentFactory.unmarshal(m_cms, file);
          parse(content);
      }
docs: Parses a given resource.<p>
  
  @param resource the resource to parse
  
  @throws CmsException if something goes wrong