code: public Root parseRootDoc(RootDoc rootDoc) {
  		Root rootNode = objectFactory.createRoot();
  
  		for (ClassDoc classDoc : rootDoc.classes()) {
  			PackageDoc packageDoc = classDoc.containingPackage();
  
  			Package packageNode = packages.get(packageDoc.name());
  			if (packageNode == null) {
  				packageNode = parsePackage(packageDoc);
  				packages.put(packageDoc.name(), packageNode);
  				rootNode.getPackage().add(packageNode);
  			}
  
  			if (classDoc instanceof AnnotationTypeDoc) {
  				packageNode.getAnnotation().add(parseAnnotationTypeDoc((AnnotationTypeDoc) classDoc));
  			} else if (classDoc.isEnum()) {
  				packageNode.getEnum().add(parseEnum(classDoc));
  			} else if (classDoc.isInterface()) {
  				packageNode.getInterface().add(parseInterface(classDoc));
  			} else {
  				packageNode.getClazz().add(parseClass(classDoc));
  			}
  		}
  
  		return rootNode;
  	}
docs: The entry point into parsing the javadoc.
  
  @param rootDoc
  The RootDoc intstance obtained via the doclet API
  @return The root node, containing everything parsed from javadoc doclet