Package org.geotools.util.factory
Class Hints.ConfigurationMetadataKey
- Object
-
- RenderingHints.Key
-
- Hints.Key
-
- ConfigurationMetadataKey
-
- Enclosing class:
- Hints
public static final class Hints.ConfigurationMetadataKey extends Hints.Key
Keys for extra configuration options that are passed from the overhead application into queries. In GeoServer, this is used to pass configuration metadata in the FeatureTypeInfo into queries.- Since:
- 2.6
- Author:
- Sampo Savolainen
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Hints.ConfigurationMetadataKey
get(String key)
Creates a singleton instance per keyboolean
isCompatibleValue(Object value)
Configuration metadata can be of any class, but it should be non-null.-
Methods inherited from class Hints.Key
getValueClass, toString
-
Methods inherited from class RenderingHints.Key
equals, hashCode, intKey
-
-
-
-
Method Detail
-
get
public static Hints.ConfigurationMetadataKey get(String key)
Creates a singleton instance per key- Parameters:
key
- String key which identifies the metadata in question.- Returns:
- Key object for the requested key
-
isCompatibleValue
public boolean isCompatibleValue(Object value)
Configuration metadata can be of any class, but it should be non-null.- Overrides:
isCompatibleValue
in classHints.Key
- Parameters:
value
- The object to test for validity.- Returns:
true
if the value is valid;false
otherwise.- See Also:
Hints.ClassKey.isCompatibleValue(java.lang.Object)
,Hints.FileKey.isCompatibleValue(java.lang.Object)
,Hints.IntegerKey.isCompatibleValue(java.lang.Object)
,Hints.OptionKey.isCompatibleValue(java.lang.Object)
-
-