Package hec.map
Class MapObjectFactory
java.lang.Object
hec.map.MapObjectFactory
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Provides a mapping from Map extension to Map Object -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addMapping
(String mapFileExt, String mapObjectClsName) add a MapObject to MapObject mapping.static Class
getClassForUrl
(String path) static MapObject
newMapObject
(FileOpener fileOpener, Identifier id) static MapObject
newMapObject
(FileOpener fileOpener, String path)
-
Constructor Details
-
MapObjectFactory
public MapObjectFactory()
-
-
Method Details
-
newMapObject
-
newMapObject
-
getClassForUrl
-
addMapping
add a MapObject to MapObject mapping.- Parameters:
mapFileExt
- the file extension (no dot) of the map object file (i.e. shape files is "shp")mapObjectClsName
- the class name of the MapObject
-