org.geotools.kml
Class StyleMap

Object
  extended by 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
protected  Map map
           
 
Constructor Summary
StyleMap()
           
 
Method Summary
 FeatureTypeStyle get(URI uri)
           
 void put(URI uri, FeatureTypeStyle style)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

map

protected Map map
Constructor Detail

StyleMap

public StyleMap()
Method Detail

put

public void put(URI uri,
                FeatureTypeStyle style)

get

public FeatureTypeStyle get(URI uri)


Copyright © 1996-2014 Geotools. All Rights Reserved.