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;
7 import java.util.HashMap;
8 import java.util.Map;
9
10 public class JspParser implements Parser {
11
12 public Object parse(Reader source) throws ParseException {
13 return new net.sourceforge.pmd.jsp.ast.JspParser(new JspCharStream(source)).CompilationUnit();
14 }
15
16 public Map<Integer, String> getExcludeMap() {
17 return new HashMap<Integer, String>();
18 }
19
20 public void setExcludeMarker(String marker) {
21
22 }
23
24
25 }