Package org.geotools.kml
Class StyleMap
- Object
-
- StyleMap
-
public class StyleMap extends Object
Simple container for holding styles by uri.This is lame as it is just a hash map in memory. It should really be an embedded db that serializes / deserializes out to disk.
- Author:
- Justin Deoliveira, The Open Planning Project
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<URI,FeatureTypeStyle>
map
-
Constructor Summary
Constructors Constructor Description StyleMap()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FeatureTypeStyle
get(URI uri)
void
put(URI uri, FeatureTypeStyle style)
-
-
-
Field Detail
-
map
protected Map<URI,FeatureTypeStyle> map
-
-
Method Detail
-
put
public void put(URI uri, FeatureTypeStyle style)
-
get
public FeatureTypeStyle get(URI uri)
-
-