src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlConstants.java

Tue, 14 May 2013 10:14:55 -0700

author
jjg
date
Tue, 14 May 2013 10:14:55 -0700
changeset 1746
bd51ca92c013
parent 1606
ccbe7ffdd867
child 2035
a2a5ad0853ed
permissions
-rw-r--r--

8012178: Cleanup use of Util.escapeHtmlChars
Reviewed-by: darcy

     1 /*
     2  * Copyright (c) 2010, 2013, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.  Oracle designates this
     8  * particular file as subject to the "Classpath" exception as provided
     9  * by Oracle in the LICENSE file that accompanied this code.
    10  *
    11  * This code is distributed in the hope that it will be useful, but WITHOUT
    12  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
    13  * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License
    14  * version 2 for more details (a copy is included in the LICENSE file that
    15  * accompanied this code).
    16  *
    17  * You should have received a copy of the GNU General Public License version
    18  * 2 along with this work; if not, write to the Free Software Foundation,
    19  * Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
    20  *
    21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
    22  * or visit www.oracle.com if you need additional information or have any
    23  * questions.
    24  */
    26 package com.sun.tools.doclets.formats.html.markup;
    28 import com.sun.tools.doclets.internal.toolkit.Content;
    30 /**
    31  * Stores constants for Html Doclet.
    32  *
    33  *  <p><b>This is NOT part of any supported API.
    34  *  If you write code that depends on this, you do so at your own risk.
    35  *  This code and its internal interfaces are subject to change or
    36  *  deletion without notice.</b>
    37  *
    38  * @author Bhavesh Patel
    39  */
    40 public class HtmlConstants {
    42     /**
    43      * Marker to identify start of top navigation bar.
    44      */
    45     public static final Content START_OF_TOP_NAVBAR =
    46             new Comment("========= START OF TOP NAVBAR =======");
    48     /**
    49      * Marker to identify start of bottom navigation bar.
    50      */
    51     public static final Content START_OF_BOTTOM_NAVBAR =
    52             new Comment("======= START OF BOTTOM NAVBAR ======");
    54     /**
    55      * Marker to identify end of top navigation bar.
    56      */
    57     public static final Content END_OF_TOP_NAVBAR =
    58             new Comment("========= END OF TOP NAVBAR =========");
    60     /**
    61      * Marker to identify end of bottom navigation bar.
    62      */
    63     public static final Content END_OF_BOTTOM_NAVBAR =
    64             new Comment("======== END OF BOTTOM NAVBAR =======");
    66     /**
    67      * Marker to identify start of class data.
    68      */
    69     public static final Content START_OF_CLASS_DATA =
    70             new Comment("======== START OF CLASS DATA ========");
    72     /**
    73      * Marker to identify end of class data.
    74      */
    75     public static final Content END_OF_CLASS_DATA =
    76             new Comment("========= END OF CLASS DATA =========");
    78     /**
    79      * Marker to identify start of nested class summary.
    80      */
    81     public static final Content START_OF_NESTED_CLASS_SUMMARY =
    82             new Comment("======== NESTED CLASS SUMMARY ========");
    84     /**
    85      * Marker to identify start of annotation type optional member summary.
    86      */
    87     public static final Content START_OF_ANNOTATION_TYPE_OPTIONAL_MEMBER_SUMMARY =
    88             new Comment("=========== ANNOTATION TYPE OPTIONAL MEMBER SUMMARY ===========");
    90     /**
    91      * Marker to identify start of annotation type required member summary.
    92      */
    93     public static final Content START_OF_ANNOTATION_TYPE_REQUIRED_MEMBER_SUMMARY =
    94             new Comment("=========== ANNOTATION TYPE REQUIRED MEMBER SUMMARY ===========");
    96     /**
    97      * Marker to identify start of constructor summary.
    98      */
    99     public static final Content START_OF_CONSTRUCTOR_SUMMARY =
   100             new Comment("======== CONSTRUCTOR SUMMARY ========");
   102     /**
   103      * Marker to identify start of enum constants summary.
   104      */
   105     public static final Content START_OF_ENUM_CONSTANT_SUMMARY =
   106             new Comment("=========== ENUM CONSTANT SUMMARY ===========");
   108     /**
   109      * Marker to identify start of field summary.
   110      */
   111     public static final Content START_OF_FIELD_SUMMARY =
   112             new Comment("=========== FIELD SUMMARY ===========");
   114     /**
   115      * Marker to identify start of properties summary.
   116      */
   117     public static final Content START_OF_PROPERTY_SUMMARY =
   118             new Comment("=========== PROPERTY SUMMARY ===========");
   120     /**
   121      * Marker to identify start of method summary.
   122      */
   123     public static final Content START_OF_METHOD_SUMMARY =
   124             new Comment("========== METHOD SUMMARY ===========");
   126     /**
   127      * Marker to identify start of annotation type details.
   128      */
   129     public static final Content START_OF_ANNOTATION_TYPE_DETAILS =
   130             new Comment("============ ANNOTATION TYPE MEMBER DETAIL ===========");
   132     /**
   133      * Marker to identify start of method details.
   134      */
   135     public static final Content START_OF_METHOD_DETAILS =
   136             new Comment("============ METHOD DETAIL ==========");
   138     /**
   139      * Marker to identify start of field details.
   140      */
   141     public static final Content START_OF_FIELD_DETAILS =
   142             new Comment("============ FIELD DETAIL ===========");
   144     /**
   145      * Marker to identify start of property details.
   146      */
   147     public static final Content START_OF_PROPERTY_DETAILS =
   148             new Comment("============ PROPERTY DETAIL ===========");
   150     /**
   151      * Marker to identify start of constructor details.
   152      */
   153     public static final Content START_OF_CONSTRUCTOR_DETAILS =
   154             new Comment("========= CONSTRUCTOR DETAIL ========");
   156     /**
   157      * Marker to identify start of enum constants details.
   158      */
   159     public static final Content START_OF_ENUM_CONSTANT_DETAILS =
   160             new Comment("============ ENUM CONSTANT DETAIL ===========");
   162     /**
   163      * Html tag for the page title heading.
   164      */
   165     public static final HtmlTag TITLE_HEADING = HtmlTag.H1;
   167     /**
   168      * Html tag for the class page title heading.
   169      */
   170     public static final HtmlTag CLASS_PAGE_HEADING = HtmlTag.H2;
   172     /**
   173      * Html tag for the content heading.
   174      */
   175     public static final HtmlTag CONTENT_HEADING = HtmlTag.H2;
   177     /**
   178      * Html tag for the package name heading.
   179      */
   180     public static final HtmlTag PACKAGE_HEADING = HtmlTag.H2;
   182     /**
   183      * Html tag for the profile name heading.
   184      */
   185     public static final HtmlTag PROFILE_HEADING = HtmlTag.H2;
   187     /**
   188      * Html tag for the member summary heading.
   189      */
   190     public static final HtmlTag SUMMARY_HEADING = HtmlTag.H3;
   192     /**
   193      * Html tag for the inherited member summary heading.
   194      */
   195     public static final HtmlTag INHERITED_SUMMARY_HEADING = HtmlTag.H3;
   197     /**
   198      * Html tag for the member details heading.
   199      */
   200     public static final HtmlTag DETAILS_HEADING = HtmlTag.H3;
   202     /**
   203      * Html tag for the serialized member heading.
   204      */
   205     public static final HtmlTag SERIALIZED_MEMBER_HEADING = HtmlTag.H3;
   207     /**
   208      * Html tag for the member heading.
   209      */
   210     public static final HtmlTag MEMBER_HEADING = HtmlTag.H4;
   211 }

mercurial