org.gcube.opensearch.opensearchlibrary.urlelements
Interface URLElementFactory

All Known Implementing Classes:
BasicURLElementFactory, ExtendedURLElementFactory, GeoURLElementFactory, SRUURLElementFactory, TimeURLElementFactory

public interface URLElementFactory

Interface of the factory class used to construct URLElement objects

Author:
gerasimos.farantatos

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

Method Detail

newInstance

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

Parameters:
url - An Element instance containing the URL element to be processed
dd - The DescriptionDocument associated with the URL element to be processed
Returns:
A new URLElement object
Throws:
Exception - If an error occurred during construction


Copyright © 2013. All Rights Reserved.