org.geotools.kml.bindings
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
Module:
modules/extension/xsd-kml (gt-xsd-kml.jar)

Field Summary
protected  Map map
           
 
Constructor Summary
StyleMap()
           
 
Method Summary
protected  FeatureTypeStyle get(URI uri)
           
protected  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

protected void put(URI uri,
                   FeatureTypeStyle style)

get

protected FeatureTypeStyle get(URI uri)


Copyright © 1996-2010 Geotools. All Rights Reserved.