KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > jahia > services > htmlparser > HtmlDOMVisitor


1 package org.jahia.services.htmlparser;
2
3 import org.w3c.dom.Document JavaDoc;
4
5 /**
6  *
7  * <p>Title: Html DOM Visitor</p>
8  * <p>Description: </p>
9  * <p>Copyright: Copyright (c) 2002</p>
10  * <p>Company: </p>
11  * @author Khue Nguyen
12  * @version 1.0
13  */

14 public interface HtmlDOMVisitor {
15
16     /**
17      * let the visitor initiate itself
18      *
19      * @param siteId , current site
20      * @return
21      */

22     public abstract void init(int siteId);
23
24     /**
25      * process the Document build by the HtmlParser from parsing the Html content.
26      *
27      * @param doc
28      * @return
29      */

30     public abstract Document JavaDoc parseDOM(Document JavaDoc doc);
31
32 }
Popular Tags