[3637] in java-interest

home help back first fref pref prev next nref lref last post

RE: What happend to net.www.html.Parser, Document, Tag and TagRef?

daemon@ATHENA.MIT.EDU (Greg White)
Mon Nov 20 21:30:41 1995

From: Greg White <gwhite@inetmi.com>
To: "'java-interest@java.eng.sun.com'" <java-interest@java.Eng.Sun.COM>
Date: Mon, 20 Nov 1995 14:22:08 -0500


<< Much deleted>>

> A Java HTML parser available in:
>
>	ftp://java.sun.com/pub/java/avh/html.tar.Z
>
>It needs more work.

What is the status of this?  What more work does it need?  I have spent =
a few hours looking at it and I don't know how to get the parsed output.

Is it true that I want to subclass Parser and override the protected =
methods to get the parsed output?

I am guessing that I want to override handleStartTag(), handleEndTag(), =
and
handleText().   Will handleText() only return text that needs to be =
rendered, or will it also return the text version of tags (I am confused =
to see calls to handleText() within other methods such as startTag()).

What about makeTag()?  Do I need to override this?  Can you give a code =
snippet to help me understand what it is supposed to do?

Are these the classes that will be shipped with HotJava?  When will you =
be able to make a beta version of this code available?  If only the =
alpha version is going to be available for a while, I should just =
continue using the classes that were shipped with the Alpha JDK correct?

Thanks,

Greg White  I/NET, Inc.
gwhite@inetmi.com
616-344-3017 ext. 120




-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post