Please correct me if I am wrong .. it looks like adding a Hint as a value does not work?
The following code (part of RenderingHints): > public Object put(Object key, Object value) { > if (!((Key) key).isCompatibleValue(value)) { > throw new IllegalArgumentException(value+ > " incompatible with "+ > key); > } > return hintmap.put((Key) key, value); > } Checks to make sure the value is "compatible" ... Our implementation of Key does check in terms of: > return getValueClass().isAssignableFrom(type); Which for a key that is not set up to take a class (like a default directory key) .. is a failure. Creating a new type of Key ... Jody ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel