langtools/src/share/classes/com/sun/tools/doclets/formats/html/markup/HtmlDocWriter.java
changeset 14366 af625e568667
parent 14358 9eda9239cba0
child 14542 7062120649c2
equal deleted inserted replaced
14365:20f388573215 14366:af625e568667
    73 
    73 
    74     /**
    74     /**
    75      * Return Html Hyper Link string.
    75      * Return Html Hyper Link string.
    76      *
    76      *
    77      * @param link       String name of the file.
    77      * @param link       String name of the file.
    78      * @param where      Position of the link in the file. Character '#' is not
       
    79      * needed.
       
    80      * @param label      Tag for the link.
    78      * @param label      Tag for the link.
    81      * @param strong       Boolean that sets label to strong.
    79      * @param strong       Boolean that sets label to strong.
    82      * @return String    Hyper Link.
    80      * @return String    Hyper Link.
    83      */
    81      */
    84     public String getHyperLinkString(DocPath link,
    82     public String getHyperLinkString(DocPath link,
    93 
    91 
    94     /**
    92     /**
    95      * Get Html Hyper Link string.
    93      * Get Html Hyper Link string.
    96      *
    94      *
    97      * @param link       String name of the file.
    95      * @param link       String name of the file.
    98      * @param where      Position of the link in the file. Character '#' is not
       
    99      *                   needed.
       
   100      * @param label      Tag for the link.
    96      * @param label      Tag for the link.
   101      * @param strong       Boolean that sets label to strong.
    97      * @param strong       Boolean that sets label to strong.
   102      * @param stylename  String style of text defined in style sheet.
    98      * @param stylename  String style of text defined in style sheet.
   103      * @return String    Hyper Link.
    99      * @return String    Hyper Link.
   104      */
   100      */
   129 
   125 
   130     /**
   126     /**
   131      * Get Html Hyper Link string.
   127      * Get Html Hyper Link string.
   132      *
   128      *
   133      * @param link       String name of the file.
   129      * @param link       String name of the file.
   134      * @param where      Position of the link in the file. Character '#' is not
       
   135      *                   needed.
       
   136      * @param label      Tag for the link.
   130      * @param label      Tag for the link.
   137      * @return a content tree for the hyper link
   131      * @return a content tree for the hyper link
   138      */
   132      */
   139     public Content getHyperLink(DocPath link,
   133     public Content getHyperLink(DocPath link,
   140                                Content label) {
   134                                Content label) {
   148 
   142 
   149     /**
   143     /**
   150      * Get Html Hyper Link string.
   144      * Get Html Hyper Link string.
   151      *
   145      *
   152      * @param link       String name of the file.
   146      * @param link       String name of the file.
   153      * @param where      Position of the link in the file. Character '#' is not
       
   154      *                   needed.
       
   155      * @param label      Tag for the link.
   147      * @param label      Tag for the link.
   156      * @param strong       Boolean that sets label to strong.
   148      * @param strong       Boolean that sets label to strong.
   157      * @param stylename  String style of text defined in style sheet.
   149      * @param stylename  String style of text defined in style sheet.
   158      * @param title      String that describes the links content for accessibility.
   150      * @param title      String that describes the links content for accessibility.
   159      * @param target     Target frame.
   151      * @param target     Target frame.
   199 
   191 
   200     /**
   192     /**
   201      * Get Html Hyper Link.
   193      * Get Html Hyper Link.
   202      *
   194      *
   203      * @param link       String name of the file.
   195      * @param link       String name of the file.
   204      * @param where      Position of the link in the file. Character '#' is not
       
   205      *                   needed.
       
   206      * @param label      Tag for the link.
   196      * @param label      Tag for the link.
   207      * @param title      String that describes the link's content for accessibility.
   197      * @param title      String that describes the link's content for accessibility.
   208      * @param target     Target frame.
   198      * @param target     Target frame.
   209      * @return a content tree for the hyper link.
   199      * @return a content tree for the hyper link.
   210      */
   200      */