org.geotools.styling
Class ColorReplacementImpl
Object
ColorReplacementImpl
- All Implemented Interfaces:
- ColorReplacement
public class ColorReplacementImpl
- extends Object
- implements ColorReplacement
An implementation of ColorReplacement; this is a wrapper around an implementaiton
of the "Recode" function as defined by SymbologyEncoding 1.1.
- Author:
- Jody Garnett
- Module:
Methods inherited from class Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorReplacementImpl
public ColorReplacementImpl(Function function)
getRecoding
public Function getRecoding()
- Function used to perform color Replacement.
It is assumed this function is defined in accordance with the "Recode" function
from Symbology Encoding 1.1.
- Specified by:
getRecoding
in interface ColorReplacement
- Returns:
- Implementation of "Recode" function
accept
public Object accept(StyleVisitor visitor,
Object extraData)
- Specified by:
accept
in interface ColorReplacement
setRecoding
public void setRecoding(Function function)
Copyright © 1996-2009 Geotools. All Rights Reserved.