protected void addModulePackagesIndexContents ( String text , String tableSummary , Content body , ModuleElement mdle ) { HtmlTree htmlTree = ( configuration . allowTag ( HtmlTag . NAV ) ) ? HtmlTree . NAV ( ) : new HtmlTree ( HtmlTag . DIV ) ; htmlTree . addStyle ( HtmlStyle . indexNav ) ; HtmlTree ul = new HtmlTree ( HtmlTag . UL ) ; addAllClassesLink ( ul ) ; addAllPackagesLink ( ul ) ; addAllModulesLink ( ul ) ; htmlTree . addContent ( ul ) ; body . addContent ( htmlTree ) ; addModulePackagesList ( modules , text , tableSummary , body , mdle ) ; }
Adds module packages index contents . Call appropriate methods from the sub - classes . Adds it to the body HtmlTree