1 23 24 package org.apache.slide.search; 25 26 import org.jdom.Element; 27 28 33 public abstract class SearchLanguage { 34 35 36 38 39 43 public abstract String getName(); 44 45 51 public abstract String getGrammarUri (); 52 53 56 public abstract SearchQuery parseQuery(String queryString, SearchToken token, PropertyProvider propertyProvider) 57 throws BadQueryException; 58 59 60 73 public abstract SearchQuery parseQuery(Element queryElement, SearchToken token, PropertyProvider propertyProvider) 74 throws BadQueryException; 75 76 } 77 | Popular Tags |