public class SetFieldVisitor extends Object implements RecodedParameterVisitor, CategorizedParameterVisitor
| Constructor and Description |
|---|
SetFieldVisitor(String n)
Builds a new
SetFieldVisitor with the given string. |
| Modifier and Type | Method and Description |
|---|---|
void |
visit(CategorizedLegend legend)
Visit the given
CategorizedLegend. |
void |
visit(org.orbisgis.legend.structure.recode.RecodedLegend legend)
Visit the given
RecodedLegend. |
public SetFieldVisitor(String n)
SetFieldVisitor with the given string.n - The name that will be applied to RecodedLegend instances.IllegalArgumentException - if n== null || n.isEmpty()public void visit(org.orbisgis.legend.structure.recode.RecodedLegend legend)
RecodedParameterVisitorRecodedLegend. It's the intelligent part of the visitor implementation.visit in interface RecodedParameterVisitorpublic void visit(CategorizedLegend legend)
CategorizedParameterVisitorCategorizedLegend. It's the intelligent part of the visitor implementation.visit in interface CategorizedParameterVisitorCopyright © 2015 IRSTV CNRS-FR-2488. All Rights Reserved.