src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/toolkit/PackageSummaryWriter.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2016, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 21,36 **** * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package com.sun.tools.doclets.internal.toolkit; import java.io.*; ! import com.sun.javadoc.*; /** * The interface for writing package summary output. * * <p><b>This is NOT part of any supported API. * If you write code that depends on this, you do so at your own risk. --- 21,39 ---- * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA * or visit www.oracle.com if you need additional information or have any * questions. */ ! package jdk.javadoc.internal.doclets.toolkit; import java.io.*; ! import java.util.List; ! import java.util.SortedSet; + import javax.lang.model.element.TypeElement; + /** * The interface for writing package summary output. * * <p><b>This is NOT part of any supported API. * If you write code that depends on this, you do so at your own risk.
*** 73,84 **** * @param label the label for this table. * @param tableSummary the summary string for the table * @param tableHeader array of table headers * @param summaryContentTree the content tree to which the summaries will be added */ ! public abstract void addClassesSummary(ClassDoc[] classes, String label, ! String tableSummary, String[] tableHeader, Content summaryContentTree); /** * Adds the package description from the "packages.html" file to the documentation * tree. * --- 76,87 ---- * @param label the label for this table. * @param tableSummary the summary string for the table * @param tableHeader array of table headers * @param summaryContentTree the content tree to which the summaries will be added */ ! public abstract void addClassesSummary(SortedSet<TypeElement> classes, String label, ! String tableSummary, List<String> tableHeader, Content summaryContentTree); /** * Adds the package description from the "packages.html" file to the documentation * tree. *