public class OpacityFinder extends AbstractStyleVisitor implements StyleVisitor
Modifier and Type | Field and Description |
---|---|
boolean |
hasOpacity |
Constructor and Description |
---|
OpacityFinder(Class[] acceptableTypes) |
Modifier and Type | Method and Description |
---|---|
static void |
main(String[] args)
DOCUMENT ME!
|
void |
visit(AnchorPoint ap)
Called when accept is called on a anchor point
|
void |
visit(ChannelSelection cs)
Called when accept is called on a raster
ChannelSelection element |
void |
visit(ColorMap cm)
Called when accept is called on a raster color map
|
void |
visit(ColorMapEntry cme)
Called when accept is called on a raster color map entry
|
void |
visit(ContrastEnhancement contrastEnhancement)
Called when accept is called on a raster ContrastEnhancement element
|
void |
visit(Displacement dis)
Called when accept is called on a displacement
|
void |
visit(ExternalGraphic exgr)
Called when accept is called on a external graphic
|
void |
visit(FeatureTypeConstraint ftc)
Called when accept is called on a FeatureTypeConstraint.
|
void |
visit(FeatureTypeStyle fts)
Called when accept is called on a fetauretypestyle
|
void |
visit(Fill fill)
Called when accept is called on a fill
|
void |
visit(Graphic gr)
Called when accept is called on a graphic
|
void |
visit(Halo halo)
Called when accept is called on a halo
|
void |
visit(ImageOutline outline)
Called when accept is called on a raster
ImageOutline element |
void |
visit(LinePlacement lp)
Called when accept is called on a Line Placement
|
void |
visit(LineSymbolizer line)
Called when accept is called on a linesymbolizer
|
void |
visit(Mark mark)
Called when accept is called on a mark
|
void |
visit(NamedLayer layer)
Called when accept is called on a NamedLayer.
|
void |
visit(OverlapBehavior ob)
Called when accept is called on a raster
OverlapBehavior element |
void |
visit(PointPlacement pp)
Called when accept is called on a Point Placement
|
void |
visit(PointSymbolizer ps)
Called when accept is called on a pointsymbolizer
|
void |
visit(PolygonSymbolizer poly)
Called when accept is called on a polygon symbolizer
|
void |
visit(RasterSymbolizer raster)
Called when accept is called on a rastersymbolizer
|
void |
visit(Rule rule)
Called when accept is called on a rule
|
void |
visit(SelectedChannelType sct)
Called when accept is called on a raster
SelectedChannelType element |
void |
visit(ShadedRelief sr)
Called when accept is called on a raster
ShadedRelief element |
void |
visit(Stroke stroke)
Called when accept is called on a stroke
|
void |
visit(Style style)
Called when accept is called on a Style.
|
void |
visit(StyledLayerDescriptor sld)
Called when accept is called on a StyledLayerDescriptor.
|
void |
visit(Symbolizer sym)
since it is impossible to create a Symbolizer this method should generate an exception or
warning.
|
void |
visit(TextSymbolizer text)
Called when accept is called on a textsymbolizer
|
void |
visit(UserLayer layer)
Called when accept is called on a UserLayer.
|
public OpacityFinder(Class[] acceptableTypes)
public void visit(Style style)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
style
- The style to visitpublic void visit(Rule rule)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
rule
- the rule to visitpublic void visit(FeatureTypeStyle fts)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
fts
- the feature type styler to visitpublic void visit(Fill fill)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
fill
- the fill to be visitedpublic void visit(Stroke stroke)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
stroke
- the stroke to visitpublic void visit(Symbolizer sym)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
sym
- the symbolizer to visitpublic void visit(PointSymbolizer ps)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
ps
- the point symbolizer to visitpublic void visit(LineSymbolizer line)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
line
- the line symbolizer to visitpublic void visit(PolygonSymbolizer poly)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
poly
- the polygon symbolizer to visitpublic void visit(TextSymbolizer text)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
text
- the text symbolizer to visitpublic void visit(RasterSymbolizer raster)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
raster
- the raster symbolizer to visitpublic void visit(Graphic gr)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
gr
- the graphic to visitpublic void visit(Mark mark)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
mark
- the mark to visitpublic void visit(ExternalGraphic exgr)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
exgr
- the external graphic to visitpublic void visit(PointPlacement pp)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
pp
- the point placement to visitpublic void visit(AnchorPoint ap)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
ap
- the anchor point to visitpublic void visit(Displacement dis)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
dis
- the displacement to visitpublic void visit(LinePlacement lp)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
lp
- the line placement to visitpublic void visit(Halo halo)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
halo
- the halo to visitpublic static void main(String[] args)
args
- public void visit(StyledLayerDescriptor sld)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
sld
- The StyledLayerDescriptor to visitpublic void visit(NamedLayer layer)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
layer
- The NamedLayer to visitpublic void visit(UserLayer layer)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
layer
- The UserLayer to visitpublic void visit(FeatureTypeConstraint ftc)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
ftc
- The FeatureTypeConstraint to visitpublic void visit(ColorMap cm)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
cm
- the color map to visitpublic void visit(ColorMapEntry cme)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
cme
- the color map to visitpublic void visit(ContrastEnhancement contrastEnhancement)
StyleVisitor
visit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
contrastEnhancement
- the ContrastEnhancement
to visit.public void visit(ImageOutline outline)
StyleVisitor
ImageOutline
elementvisit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
outline
- the ImageOutline
to visit.public void visit(ChannelSelection cs)
StyleVisitor
ChannelSelection
elementvisit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
cs
- the ChannelSelection
to visit.public void visit(OverlapBehavior ob)
StyleVisitor
OverlapBehavior
elementvisit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
public void visit(SelectedChannelType sct)
StyleVisitor
SelectedChannelType
elementvisit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
public void visit(ShadedRelief sr)
StyleVisitor
ShadedRelief
elementvisit
in interface StyleVisitor
visit
in class AbstractStyleVisitor
Copyright © 1996–2019 Geotools. All rights reserved.