Package org.gvsig.catalog
Interface CatalogManager
- All Known Implementing Classes:
DefaultCatalogManager
public interface CatalogManager
- Author:
- Jorge Piera
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddLayerLoader(String key, Class loader) voidAdds a new recordcreateRecord(URI uri, XMLNode node) Try to identify the XML format and return a recordIt is used to retrieve a driver that supports a concrete protocolgetLayerLoader(Resource resource) gets Map object to persist servers listvoidThis method is used to register a new catalog driver that manage a concrete protocolvoidsetServersPersistence(Map<String, org.gvsig.utils.swing.jcomboServer.ServerData> serversPersistence) sets Map object to persist servers list
-
Method Details
-
getDriver
It is used to retrieve a driver that supports a concrete protocol- Parameters:
protocol- Catalog protocol- Returns:
- The concrete catalog service driver
-
getDrivers
ICatalogServiceDriver[] getDrivers()- Returns:
- a list with all the catalog drivers
-
register
This method is used to register a new catalog driver that manage a concrete protocol- Parameters:
driver- Catalog driver to register
-
addRecord
Adds a new record- Parameters:
record- New record to add
-
createRecord
Try to identify the XML format and return a record- Parameters:
uri- Server URI (used to retrieve the images)node- XML node- Returns:
-
addLayerLoader
-
getLayerLoader
LayerLoader getLayerLoader(Resource resource) throws IllegalArgumentException, SecurityException, InstantiationException, IllegalAccessException, InvocationTargetException, NoSuchMethodException -
getServersPersistence
gets Map object to persist servers list- Returns:
- Mapinvalid input: '<'String,ServerData>
-
setServersPersistence
void setServersPersistence(Map<String, org.gvsig.utils.swing.jcomboServer.ServerData> serversPersistence) sets Map object to persist servers list- Parameters:
serversPersistence-
-