if (scanners.size() > 0) {
System.err.println("registerScanners() should be called first, when no other scanner has been registered.");
System.err.println("Other scanners already exist, hence this method call wont have any effect");
return;
}
LinkScanner linkScanner = new LinkScanner(LinkTag.LINK_TAG_FILTER);
// Note - The BaseHREF and Image scanners share the same
// link processor - internally linked up with the factory
// method in the link scanner class
addScanner(linkScanner);
addScanner(linkScanner.createImageScanner(ImageTag.IMAGE_TAG_FILTER));
addScanner(new ScriptScanner("-s"));
addScanner(new StyleScanner("-t"));
addScanner(new JspScanner("-j"));
addScanner(new AppletScanner("-a"));
addScanner(new MetaTagScanner("-m"));
addScanner(new TitleScanner("-T"));
addScanner(new DoctypeScanner("-d"));
addScanner(new FormScanner("-f", this));
addScanner(new FrameSetScanner("-r"));
addScanner(linkScanner.createBaseHREFScanner("-b"));
addScanner(new BulletListScanner("-bulletList", this));
// addScanner(new SpanScanner("-p"));
addScanner(new DivScanner("-div"));
addScanner(new TableScanner(this));
}