Class LegendRenderingSelectorStyleVisitor

Object
DuplicatingStyleVisitor
RenderingSelectorStyleVisitor
LegendRenderingSelectorStyleVisitor
All Implemented Interfaces:
StyleVisitor

public class LegendRenderingSelectorStyleVisitor extends RenderingSelectorStyleVisitor
RenderingSelectorStyleVisitor implementation meant to be used when rendering legends *
  • Constructor Details

    • LegendRenderingSelectorStyleVisitor

      public LegendRenderingSelectorStyleVisitor()
  • Method Details

    • canRenderInternal

      protected boolean canRenderInternal(String value)
      Description copied from class: RenderingSelectorStyleVisitor
      Used by subclass to provide custom logic to check if the SLD element should be included in the copy
      Specified by:
      canRenderInternal in class RenderingSelectorStyleVisitor
      Parameters:
      value - the value of the mapOnly|legendOnly|normal
      Returns:
      true if the element should be included in the copy, false otherwise.