01: package org.apache.lucene.xmlparser.builders;
02:
03: import org.apache.lucene.search.Query;
04: import org.apache.lucene.xmlparser.ParserException;
05: import org.w3c.dom.Element;
06:
07: /**
08: * Licensed to the Apache Software Foundation (ASF) under one or more
09: * contributor license agreements. See the NOTICE file distributed with
10: * this work for additional information regarding copyright ownership.
11: * The ASF licenses this file to You under the Apache License, Version 2.0
12: * (the "License"); you may not use this file except in compliance with
13: * the License. You may obtain a copy of the License at
14: *
15: * http://www.apache.org/licenses/LICENSE-2.0
16: *
17: * Unless required by applicable law or agreed to in writing, software
18: * distributed under the License is distributed on an "AS IS" BASIS,
19: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
20: * See the License for the specific language governing permissions and
21: * limitations under the License.
22: */
23: public abstract class SpanBuilderBase implements SpanQueryBuilder {
24: public Query getQuery(Element e) throws ParserException {
25: return getSpanQuery(e);
26: }
27:
28: }
|