/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/ |
H A D | ParserException.java | 25 public class ParserException extends Exception { class in inherits:Exception 30 public ParserException() { method in class:ParserException 36 public ParserException(String message) { method in class:ParserException 43 public ParserException(String message, Throwable cause) { method in class:ParserException 49 public ParserException(Throwable cause) { method in class:ParserException
|
H A D | FilterBuilder.java | 29 public Filter getFilter(Element e) throws ParserException;
|
H A D | QueryBuilder.java | 27 public Query getQuery(Element e) throws ParserException;
|
H A D | FilterBuilderFactory.java | 34 public Filter getFilter(Element n) throws ParserException { 38 throw new ParserException("No FilterBuilder defined for node "+n.getNodeName());
|
H A D | QueryBuilderFactory.java | 34 public Query getQuery(Element n) throws ParserException { 38 throw new ParserException("No QueryObjectBuilder defined for node "+n.getNodeName());
|
H A D | DOMUtils.java | 33 public static Element getChildByTagOrFail(Element e, String name) throws ParserException 38 throw new ParserException(e.getTagName() + " missing \"" + name 44 public static Element getFirstChildOrFail(Element e) throws ParserException 49 throw new ParserException(e.getTagName() 55 public static String getAttributeOrFail(Element e, String name) throws ParserException 60 throw new ParserException(e.getTagName() + " missing \"" + name 65 public static String getAttributeWithInheritanceOrFail(Element e, String name) throws ParserException 70 throw new ParserException(e.getTagName() + " missing \"" + name 75 public static String getNonBlankTextOrFail(Element e) throws ParserException 82 throw new ParserException( [all...] |
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/java/org/apache/lucene/xmlparser/builders/ |
H A D | SpanBuilderBase.java | 4 import org.apache.lucene.xmlparser.ParserException; 28 public Query getQuery(Element e) throws ParserException
|
H A D | SpanQueryBuilder.java | 19 import org.apache.lucene.xmlparser.ParserException; 26 public SpanQuery getSpanQuery(Element e) throws ParserException;
|
H A D | SpanQueryBuilderFactory.java | 7 import org.apache.lucene.xmlparser.ParserException; 33 public Query getQuery(Element e) throws ParserException { 40 public SpanQuery getSpanQuery(Element e) throws ParserException 45 throw new ParserException("No SpanQueryObjectBuilder defined for node "+e.getNodeName());
|
H A D | MatchAllDocsQueryBuilder.java | 5 import org.apache.lucene.xmlparser.ParserException; 30 public Query getQuery(Element e) throws ParserException
|
H A D | DuplicateFilterBuilder.java | 10 import org.apache.lucene.xmlparser.ParserException; 36 public Filter getFilter(Element e) throws ParserException { 51 throw new ParserException("Illegal keepMode attribute in DuplicateFilter:"+keepMode); 65 throw new ParserException("Illegal processingMode attribute in DuplicateFilter:"+processingMode);
|
H A D | BoostingTermBuilder.java | 8 import org.apache.lucene.xmlparser.ParserException; 34 public SpanQuery getSpanQuery(Element e) throws ParserException
|
H A D | ConstantScoreQueryBuilder.java | 7 import org.apache.lucene.xmlparser.ParserException; 39 public Query getQuery(Element e) throws ParserException
|
H A D | RangeFilterBuilder.java | 10 import org.apache.lucene.xmlparser.ParserException; 36 public Filter getFilter(Element e) throws ParserException {
|
H A D | SpanFirstBuilder.java | 6 import org.apache.lucene.xmlparser.ParserException; 38 public SpanQuery getSpanQuery(Element e) throws ParserException
|
H A D | SpanTermBuilder.java | 7 import org.apache.lucene.xmlparser.ParserException; 32 public SpanQuery getSpanQuery(Element e) throws ParserException
|
H A D | TermQueryBuilder.java | 7 import org.apache.lucene.xmlparser.ParserException; 32 public Query getQuery(Element e) throws ParserException {
|
H A D | BooleanQueryBuilder.java | 10 import org.apache.lucene.xmlparser.ParserException; 47 public Query getQuery(Element e) throws ParserException { 69 static BooleanClause.Occur getOccursValue(Element clauseElem) throws ParserException 93 throw new ParserException("Invalid value for \"occurs\" attribute of clause:"+occs);
|
H A D | NumericRangeQueryBuilder.java | 24 import org.apache.lucene.xmlparser.ParserException; 84 * A {@link ParserException} will be thrown if an error occurs parsing the 90 public Query getQuery(Element e) throws ParserException { 118 throw new ParserException( 123 throw new ParserException(
|
H A D | SpanOrTermsBuilder.java | 15 import org.apache.lucene.xmlparser.ParserException; 50 public SpanQuery getSpanQuery(Element e) throws ParserException 74 throw new ParserException("IOException parsing value:"+value);
|
H A D | UserInputQueryBuilder.java | 8 import org.apache.lucene.xmlparser.ParserException; 58 public Query getQuery(Element e) throws ParserException { 81 throw new ParserException(e1.getMessage());
|
H A D | NumericRangeFilterBuilder.java | 29 import org.apache.lucene.xmlparser.ParserException; 102 * {@link ParserException} if it is unable to parse the lowerTerm or upperTerm 115 public Filter getFilter(Element e) throws ParserException { 143 throw new ParserException( 149 throw new ParserException(
|
H A D | BooleanFilterBuilder.java | 12 import org.apache.lucene.xmlparser.ParserException; 46 public Filter getFilter(Element e) throws ParserException {
|
H A D | BoostingQueryBuilder.java | 6 import org.apache.lucene.xmlparser.ParserException; 40 public Query getQuery(Element e) throws ParserException
|
/lucene-3.6.0/lucene/contrib/xml-query-parser/src/test/org/apache/lucene/xmlparser/ |
H A D | TestParser.java | 93 public void testSimpleXML() throws ParserException, IOException 98 public void testSimpleTermsQueryXML() throws ParserException, IOException 103 public void testBooleanQueryXML() throws ParserException, IOException 108 public void testRangeFilterQueryXML() throws ParserException, IOException 113 public void testUserQueryXML() throws ParserException, IOException 119 public void testCustomFieldUserQueryXML() throws ParserException, IOException 167 public void testMatchAllDocsPlusFilterXML() throws ParserException, IOException 172 public void testBooleanFilterXML() throws ParserException, IOException 177 public void testNestedBooleanQuery() throws ParserException, IOException 182 public void testCachedFilterXML() throws ParserException, IOExceptio [all...] |