Implemented the getReader functions in HTMLDocument according to the
API. They return an instance of HTMLDocument.HTMLReader.

2005-12-13  Lillian Angel  <[EMAIL PROTECTED]>

        * javax/swing/text/html/HTMLDocument.java
        (getReader): Implemented.
        (getReader): Implemented.

Index: javax/swing/text/html/HTMLDocument.java
===================================================================
RCS file: /cvsroot/classpath/classpath/javax/swing/text/html/HTMLDocument.java,v
retrieving revision 1.9
diff -u -r1.9 HTMLDocument.java
--- javax/swing/text/html/HTMLDocument.java	13 Dec 2005 17:08:46 -0000	1.9
+++ javax/swing/text/html/HTMLDocument.java	13 Dec 2005 17:13:05 -0000
@@ -1132,8 +1132,7 @@
    */
   public HTMLEditorKit.ParserCallback getReader(int pos)
   {
-    // FIXME: Not implemented.
-    return null;
+    return new HTMLReader(pos);
   }  
   
   /**
@@ -1152,7 +1151,6 @@
                                                 int pushDepth,
                                                 HTML.Tag insertTag)
   {
-    // FIXME: Not Implemented.
-    return null;
+    return new HTMLReader(pos, popDepth, pushDepth, insertTag);
   }  
 }
_______________________________________________
Classpath-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/classpath-patches

Reply via email to