1 19 20 package org.netbeans.modules.web.jsps.parserapi; 21 22 import org.netbeans.modules.web.jspparser.JspParserImpl; 23 24 public class JspParserFactory { 25 26 private static JspParserAPI parser; 27 28 public static synchronized JspParserAPI getJspParser() { 29 if (parser == null) { 30 parser = new JspParserImpl(); 31 } 32 return parser; 33 } 34 35 } 36 | Popular Tags |