01: package net.sourceforge.pmd.parsers;
02:
03: import net.sourceforge.pmd.ast.ParseException;
04: import net.sourceforge.pmd.jsp.ast.JspCharStream;
05:
06: import java.io.Reader;
07: import java.util.HashMap;
08: import java.util.Map;
09:
10: public class JspParser implements Parser {
11:
12: public Object parse(Reader source) throws ParseException {
13: return new net.sourceforge.pmd.jsp.ast.JspParser(
14: new JspCharStream(source)).CompilationUnit();
15: }
16:
17: public Map<Integer, String> getExcludeMap() {
18: return new HashMap<Integer, String>(); // FIXME
19: }
20:
21: public void setExcludeMarker(String marker) {
22: // FIXME
23: }
24:
25: }
|