KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > net > sourceforge > pmd > parsers > JspParser


1 package net.sourceforge.pmd.parsers;
2
3 import net.sourceforge.pmd.ast.ParseException;
4 import net.sourceforge.pmd.jsp.ast.JspCharStream;
5
6 import java.io.Reader JavaDoc;
7 import java.util.HashMap JavaDoc;
8 import java.util.Map JavaDoc;
9
10 public class JspParser implements Parser {
11
12     public Object JavaDoc parse(Reader JavaDoc source) throws ParseException {
13         return new net.sourceforge.pmd.jsp.ast.JspParser(new JspCharStream(source)).CompilationUnit();
14     }
15
16     public Map JavaDoc getExcludeMap() {
17         return new HashMap JavaDoc(); // FIXME
18
}
19
20     public void setExcludeMarker(String JavaDoc marker) {
21         // FIXME
22
}
23
24
25 }
26
Popular Tags