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(org.w3c.dom.Element query,
java.util.Map<java.lang.String,java.lang.String> nsPrefixes)
Creates a new QueryElement object |
newInstance
QueryElement newInstance(org.w3c.dom.Element query,
java.util.Map<java.lang.String,java.lang.String> nsPrefixes)
throws java.lang.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:
java.lang.Exception
- If an error occurred during construction