PageRenderTime 31ms CodeModel.GetById 16ms app.highlight 3ms RepoModel.GetById 1ms app.codeStats 0ms

/tags/3.1.0/src/org/getopt/luke/xmlQuery/CorePlusExtensionsParserFactory.java

http://luke.googlecode.com/
Java | 13 lines | 10 code | 3 blank | 0 comment | 0 complexity | fd574fdc118a2bfa9231282f0a7f48a3 MD5 | raw file
 1package org.getopt.luke.xmlQuery;
 2
 3import org.apache.lucene.analysis.Analyzer;
 4import org.apache.lucene.xmlparser.CoreParser;
 5import org.apache.lucene.xmlparser.CorePlusExtensionsParser;
 6
 7public class CorePlusExtensionsParserFactory implements XmlQueryParserFactory{
 8
 9	@Override
10	public CoreParser createParser(String defaultField, Analyzer analyzer){
11		return new CorePlusExtensionsParser(defaultField,analyzer);
12	}
13}