org.gcube.opensearch.opensearchlibrary.queryelements
Interface QueryElementFactory

All Known Implementing Classes:
BasicQueryElementFactory, GeoQueryElementFactory, SRUQueryElementFactory, TimeQueryElementFactory

public interface QueryElementFactory

Interface of the factory class used to construct QueryElement objects

Author:
gerasimos.farantatos

Method Summary
 QueryElement newInstance(Element query, Map<String,String> nsPrefixes)
          Creates a new QueryElement object
 

Method Detail

newInstance

QueryElement newInstance(Element query,
                         Map<String,String> nsPrefixes)
                         throws Exception
Creates a new QueryElement object

Parameters:
query - The Element corresponding to a query element contained in a description document
Returns:
A new QueryElement object
Throws:
Exception - If an error occurred during construction


Copyright © 2013. All Rights Reserved.