01: /*
02:
03: This software is OSI Certified Open Source Software.
04: OSI Certified is a certification mark of the Open Source Initiative.
05:
06: The license (Mozilla version 1.0) can be read at the MMBase site.
07: See http://www.MMBase.org/license
08:
09: */
10: package org.mmbase.bridge.util.xml.query;
11:
12: /**
13: * A QueryConfigurer has the task to instantiate {@link QueryDefinition}s (wrappers around Query's)
14: * and {@link FieldDefinition}s (wrappers around StepFields).
15: *
16: * @author Pierre van Rooden
17: * @version $Id: QueryConfigurer.java,v 1.7 2006/09/13 09:44:20 michiel Exp $
18: * @since MMBase-1.8
19: * @javadoc
20: **/
21: public class QueryConfigurer {
22:
23: private static final QueryConfigurer DEFAULT_CONFIGURER = new QueryConfigurer();
24:
25: public QueryDefinition getQueryDefinition() {
26: return new QueryDefinition();
27: }
28:
29: public FieldDefinition getFieldDefinition() {
30: return new FieldDefinition();
31: }
32:
33: public static QueryConfigurer getDefaultConfigurer() {
34: return DEFAULT_CONFIGURER;
35: }
36:
37: }
|