org.geotools.factory
Class Hints.Key

java.lang.Object
  extended byjava.awt.RenderingHints.Key
      extended byorg.geotools.factory.Hints.Key
Enclosing class:
Hints

public static final class Hints.Key
extends java.awt.RenderingHints.Key

The type for keys used to control various aspects of the factory creation. Factory creation impacts rendering (which is why extending rendering key is not a complete non-sense), but may impact other aspects of an application as well.

Version:
$Id: Hints.java 13922 2005-05-29 12:23:21Z desruisseaux $
Author:
Martin Desruisseaux

Method Summary
 java.lang.Class getValueClass()
          Returns the expected class for values stored under this key.
 boolean isCompatibleValue(java.lang.Object value)
          Returns if the specified object is a valid value for this key.
 
Methods inherited from class java.awt.RenderingHints.Key
equals, hashCode, intKey
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getValueClass

public java.lang.Class getValueClass()
Returns the expected class for values stored under this key.


isCompatibleValue

public boolean isCompatibleValue(java.lang.Object value)
Returns if the specified object is a valid value for this key. This method checks if the specified value is non-null and is one of the following:

Parameters:
value - The object to test for validity.
Returns:
if the value is valid; otherwise.


Copyright © GeoTools. All Rights Reserved.