Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4208261

HTMLDocument javadoc unclear about which getReader method(s) to override

XMLWordPrintable

    • beta2
    • sparc
    • solaris_2.5.1



      Name: akC57697 Date: 02/02/99



         The javadoc description of the class javax.swing.text.html.HTMLDocument
       has broken link.


      "
      public class HTMLDocument
      extends DefaultStyledDocument

      A document that models html. The purpose of this model is to support
      both browsing and editing. As a result, the structure described by
      an html document is not exactly replicated
      by default. The element structure that is modeled by default, is built
      by the class HTMLDocument.HTMLReader, which implements the
      HTMLEditorKit.ParserCallback protocol that the
      parser expects. To change the structure one can subclass HTMLReader,
      and reimplement the method getReader to return the new reader implementation.
                                 ---------
                                     ^______ broken link
      "

        It points to 'HTMLDocument.html#getReader' but should
        point to 'HTMLDocument.html#getReader(int)'
        

      ======================================================================

            sharonz Sharon Zakhour (Inactive)
            akuzminorcl Alexander Kuzmin (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: