org.geotools.styling
Class ColorReplacementImpl
java.lang.Object
org.geotools.styling.ColorReplacementImpl
- All Implemented Interfaces:
- org.opengis.style.ColorReplacement
public class ColorReplacementImpl
- extends java.lang.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
Method Summary |
java.lang.Object |
accept(org.opengis.style.StyleVisitor visitor,
java.lang.Object extraData)
|
org.opengis.filter.expression.Function |
getRecoding()
Function used to perform color Replacement. |
void |
setRecoding(org.opengis.filter.expression.Function function)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ColorReplacementImpl
public ColorReplacementImpl(org.opengis.filter.expression.Function function)
getRecoding
public org.opengis.filter.expression.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 org.opengis.style.ColorReplacement
- Returns:
- Implementation of "Recode" function
accept
public java.lang.Object accept(org.opengis.style.StyleVisitor visitor,
java.lang.Object extraData)
- Specified by:
accept
in interface org.opengis.style.ColorReplacement
setRecoding
public void setRecoding(org.opengis.filter.expression.Function function)
- Parameters:
function
- Recoding function to use
Copyright © 1996-2010 Geotools. All Rights Reserved.