protected void addIndexContents ( Profiles profiles , String text , String tableSummary , Content body ) { if ( profiles . getProfileCount ( ) > 0 ) { HtmlTree div = new HtmlTree ( HtmlTag . DIV ) ; div . addStyle ( HtmlStyle . indexHeader ) ; addAllClassesLink ( div ) ; addAllPackagesLink ( div ) ; body . addContent ( div ) ; addProfilesList ( profiles , text , tableSummary , body ) ; } }
Adds profile index contents . Call appropriate methods from the sub - classes . Adds it to the body HtmlTree