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(org.w3c.dom.Element url,
java.util.Map<java.lang.String,java.lang.String> nsPrefixes)
Creates a new URLElement object |
newInstance
URLElement newInstance(org.w3c.dom.Element url,
java.util.Map<java.lang.String,java.lang.String> nsPrefixes)
throws java.lang.Exception
- Creates a new URLElement object
- Parameters:
url
- An Element instance containing the URL element to be processeddd
- The DescriptionDocument associated with the URL element to be processed
- Returns:
- A new URLElement object
- Throws:
java.lang.Exception
- If an error occurred during construction