QueryConfigurer.java :  » Database-ORM » MMBase » org » mmbase » bridge » util » xml » query » Java Open Source

Java Open Source » Database ORM » MMBase 
MMBase » org » mmbase » bridge » util » xml » query » QueryConfigurer.java
/*

This software is OSI Certified Open Source Software.
OSI Certified is a certification mark of the Open Source Initiative.

The license (Mozilla version 1.0) can be read at the MMBase site.
See http://www.MMBase.org/license

*/
package org.mmbase.bridge.util.xml.query;


/**
 * A QueryConfigurer has the task to instantiate {@link QueryDefinition}s (wrappers around Query's)
 * and {@link FieldDefinition}s (wrappers around StepFields).
 *
 * @author Pierre van Rooden
 * @version $Id: QueryConfigurer.java,v 1.7 2006/09/13 09:44:20 michiel Exp $
 * @since MMBase-1.8
 * @javadoc
 **/
public class QueryConfigurer {

    private static final QueryConfigurer DEFAULT_CONFIGURER = new QueryConfigurer();

    public QueryDefinition getQueryDefinition() {
        return new QueryDefinition();
    }

    public FieldDefinition getFieldDefinition() {
        return new FieldDefinition();
    }

    public static QueryConfigurer getDefaultConfigurer() {
        return DEFAULT_CONFIGURER;
    }

}
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.