/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* 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.
*/
/**
* The class with "start" method, calls individual Writers.
*
* @author Atul M Dambalkar
* @author Robert Field
* @author Jamie Ho
*
*/
public HtmlDoclet() {
}
/**
* The global configuration information for this run.
*/
/**
* The "start" method as required by Javadoc.
*
* @param root the root of the documentation tree.
* @see com.sun.javadoc.RootDoc
* @return true if the doclet ran without encountering any errors.
*/
try {
} finally {
}
}
/**
* Create the configuration instance.
* Override this method to use a different
* configuration.
*/
return ConfigurationImpl.getInstance();
}
/**
* Start the generation of files. Call generate methods in the individual
* writers, which will in turn genrate the documentation files. Call the
* TreeWriter generation first to ensure the Class Hierarchy is built
* first and then can be used in the later generation.
*
* For new format.
*
* @see com.sun.javadoc.RootDoc
*/
throws Exception {
if (configuration.linksource) {
} else {
}
}
error("doclet.No_Non_Deprecated_Classes_To_Document");
return;
}
// do early to reduce memory footprint
if (configuration.classuse) {
}
if (configuration.createtree) {
}
if (configuration.createindex) {
if (configuration.splitindex) {
} else {
}
}
}
if (configuration.createoverview) {
}
!configuration.nohelp) {
}
// If a stylesheet file is not specified, copy the default stylesheet
// and replace newline with platform-specific newline.
(configdestdir.isEmpty()) ?
}
}
/**
* {@inheritDoc}
*/
continue;
}
null:
arr[i-1];
null:
arr[i+1];
try {
if (curr.isAnnotationType()) {
} else {
}
} catch (Exception e) {
e.printStackTrace();
throw new DocletAbortException();
}
}
}
/**
* {@inheritDoc}
*/
}
// if -nodeprecated option is set and the package is marked as
// deprecated, do not generate the package-summary.html, package-frame.html
// and package-tree.html pages for that package.
//If the next package is unnamed package, skip 2 ahead if possible
if (configuration.createtree) {
}
}
}
}
/**
* Check for doclet added options here.
*
* @return number of arguments to option. Zero return means
* option not known. Negative value means error occurred.
*/
// Construct temporary configuration for check
}
/**
* Check that options have the correct arguments here.
* <P>
* This method is not required and will default gracefully
* (to true) if absent.
* <P>
* Printing option related error messages (using the provided
* DocErrorReporter) is the responsibility of this method.
*
* @return true if the options are valid.
*/
// Construct temporary configuration for check
}
try {
"doclet.Copying_File_0_To_File_1",
}
}
} catch (IOException exc) {
"doclet.perform_copy_exception_encountered",
throw new DocletAbortException();
}
}
}