909N/A * Copyright (c) 2001, 2011, Oracle and/or its affiliates. All rights reserved. 0N/A * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. 0N/A * This code is free software; you can redistribute it and/or modify it 0N/A * under the terms of the GNU General Public License version 2 only, as 553N/A * published by the Free Software Foundation. Oracle designates this 0N/A * particular file as subject to the "Classpath" exception as provided 553N/A * by Oracle in the LICENSE file that accompanied this code. 0N/A * This code is distributed in the hope that it will be useful, but WITHOUT 0N/A * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or 0N/A * FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License 0N/A * version 2 for more details (a copy is included in the LICENSE file that 0N/A * accompanied this code). 0N/A * You should have received a copy of the GNU General Public License version 0N/A * 2 along with this work; if not, write to the Free Software Foundation, 0N/A * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 553N/A * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 553N/A * or visit www.oracle.com if you need additional information or have any 0N/A * Converts Java Source Code to HTML. 0N/A * This code is not part of an API. 0N/A * It is implementation that is subject to change. 0N/A * Do not use it as an API 765N/A * @author Bhavesh Patel (Modified) 0N/A * The number of trailing blank lines at the end of the page. 0N/A * This is inserted so that anchors at the bottom of small pages 765N/A * New line to be added to the documentation. 765N/A * Relative path from the documentation root to the file that is being 0N/A * Source is converted to HTML using static methods below. 0N/A * Convert the Classes in the given RootDoc to an HTML. 0N/A * @param configuration the configuration. 0N/A * @param rd the RootDoc to convert. 0N/A * @param outputdir the name of the directory to output to. 994N/A // If -nodeprecated option is set and the package is marked as deprecated, 994N/A // do not convert the package files to HTML. 994N/A // If -nodeprecated option is set and the class is marked as deprecated 994N/A // or the containing package is deprecated, do not convert the 994N/A // package files to HTML. 0N/A * Convert the Classes in the given Package to an HTML. 0N/A * @param configuration the configuration. 0N/A * @param pd the Package to convert. 0N/A * @param outputdir the name of the directory to output to. 994N/A // If -nodeprecated option is set and the class is marked as deprecated, 994N/A // do not convert the package files to HTML. We do not check for 994N/A // containing package deprecation since it is already check in 994N/A // the calling method above. 0N/A * Return the directory write output to for the given package. 0N/A * @param outputDir the directory to output to. 0N/A * @param pd the Package to generate output for. 765N/A * @return the package output directory as a String. 0N/A * Convert the given Class to an HTML. 0N/A * @param configuration the configuration. 0N/A * @param cd the class to convert. 0N/A * @param outputdir the name of the directory to output to. 196N/A // temp hack until we can update SourcePosition API. 0N/A * Write the output to the file. 765N/A * @param body the documentation content to be written to the file. 0N/A * @param outputDir the directory to output to. 0N/A * @param className the name of the class that I am converting to HTML. 0N/A * @param configuration the Doclet configuration to pass notices to. 765N/A * Returns a link to the stylesheet file. 765N/A * @param configuration the doclet configuration for the current run of javadoc 765N/A * @return an HtmlTree for the lINK tag which provides the stylesheet location 765N/A * @return the header content for the HTML file 765N/A * Add the line numbers for the source code. 765N/A * @param pre the content tree to which the line number will be added 765N/A * @param lineno The line number 765N/A * Add a line from source to the HTML file that is generated. 765N/A * @param pre the content tree to which the line will be added. 0N/A * @param line the string to format. 0N/A * @param tabLength the number of spaces for each tab. 0N/A * @param currentLineNo the current number. 765N/A * Add trailing blank lines at the end of the page. 765N/A * @param pre the content tree to which the blank lines will be added. 0N/A * Given a <code>Doc</code>, return an anchor name for it. 0N/A * @param d the <code>Doc</code> to check. 0N/A * @return the name of the anchor.