FileDocCategorySizeDatePackage
RangeFilterBuilder.javaAPI DocApache Lucene 2.1.01744Wed Feb 14 10:46:20 GMT 2007org.apache.lucene.xmlparser.builders

RangeFilterBuilder

public class RangeFilterBuilder extends Object implements org.apache.lucene.xmlparser.FilterBuilder
author
maharwood

Fields Summary
Constructors Summary
Methods Summary
public org.apache.lucene.search.FiltergetFilter(org.w3c.dom.Element e)

		
		String fieldName=DOMUtils.getAttributeWithInheritance(e,"fieldName");
		
		String lowerTerm=e.getAttribute("lowerTerm");
		String upperTerm=e.getAttribute("upperTerm");
		boolean includeLower=DOMUtils.getAttribute(e,"includeLower",true);
		boolean includeUpper=DOMUtils.getAttribute(e,"includeUpper",true);
		return new RangeFilter(fieldName,lowerTerm,upperTerm,includeLower,includeUpper);