Re: [Htmlparser-user] Re: HTMLVisitor ,where is that class located
Brought to you by:
derrickoswald
From: Aminudin K. <ami...@mi...> - 2003-02-18 01:04:07
|
You need the latest integration release . HTMLVisitor is not in the version 1.2. ps: make sure ur class path is correct anumodh narayanan kutty wrote: > > > >> public class MyCustomizedVisitor extends HTMLVisitor { >> public MyCustomizedVisitor(HTMLParser parser) { >> super(true); /// Its usually a good idea to perform recursion >> // Add the scanners you want. >> // This decouples your application from having to know which >> scanners are required >> parser.addScanner(new HTMLLinkScanner("")); >> parser.addScanner(new HTMLImageScanner("")); >> // or add all scanners with registerScanners() >> } >> >> public void visitTag(HTMLTag tag) { >> // Collect any tags you want >> // You can also do type checking like so: >> if (tag instanceof HTMLMetaTag) { >> // This tag is a meta tag >> HTMLMetaTag metaTag = (HTMLMetaTag)tag; >> } >> } >> > ***************************************************************** > Hello Somik , > > Thanks ,for the information,but I couldn't find HTMLVisitor class > ,where is it located,plz let me know that. > > regards > ANUMODH > > > > _________________________________________________________________ > Protect your PC - get McAfee.com VirusScan Online > http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963 > > > > ------------------------------------------------------- > This sf.net email is sponsored by:ThinkGeek > Welcome to geek heaven. > http://thinkgeek.com/sf > _______________________________________________ > Htmlparser-user mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/htmlparser-user > |