org.geotools.kml.bindings
Class StyleMap

java.lang.Object
  extended by org.geotools.kml.bindings.StyleMap

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

Field Detail

map

protected java.util.Map map
Constructor Detail

StyleMap

public StyleMap()
Method Detail

put

protected void put(java.net.URI uri,
                   FeatureTypeStyle style)

get

protected FeatureTypeStyle get(java.net.URI uri)


Copyright © 1996-2010 Geotools. All Rights Reserved.