org.geotools.styling
Class ColorReplacementImpl

Object
  extended by 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:

Constructor Summary
ColorReplacementImpl(Function function)
           
 
Method Summary
 Object accept(StyleVisitor visitor, Object extraData)
           
 Function getRecoding()
          Function used to perform color Replacement.
 void setRecoding(Function function)
           
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ColorReplacementImpl

public ColorReplacementImpl(Function function)
Method Detail

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.