|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.geotools.filter.visitor.AbstractFilterVisitor org.geotools.filter.visitor.DuplicatorFilterVisitor org.geotools.styling.visitor.DuplicatorStyleVisitor
Used to duplicate a Style object (anything in the SLD hierarchy).
Some methods in this visitor use a clone method to duplicate, rather than constructing a new object. This should be made consistent with the other methods, and tested.
Constructor Summary | |
DuplicatorStyleVisitor(StyleFactory sf,
FilterFactory ff)
|
Method Summary | |
void |
setStyleFactory(StyleFactory styleFactory)
|
void |
visit(AnchorPoint ap)
Called when accept is called on a anchor point |
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(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(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(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. |
Methods inherited from class org.geotools.filter.visitor.DuplicatorFilterVisitor |
getCopy, getPages, setFilterFactory, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public DuplicatorStyleVisitor(StyleFactory sf, FilterFactory ff)
Method Detail |
public void setStyleFactory(StyleFactory styleFactory)
public void visit(StyledLayerDescriptor sld)
StyleVisitor
visit
in interface StyleVisitor
sld
- The StyledLayerDescriptor to visitpublic void visit(NamedLayer layer)
StyleVisitor
visit
in interface StyleVisitor
layer
- The NamedLayer to visitpublic void visit(UserLayer layer)
StyleVisitor
visit
in interface StyleVisitor
layer
- The UserLayer to visitpublic void visit(Style style)
StyleVisitor
visit
in interface StyleVisitor
style
- The style to visitpublic void visit(Rule rule)
StyleVisitor
visit
in interface StyleVisitor
rule
- the rule to visitpublic void visit(FeatureTypeStyle fts)
StyleVisitor
visit
in interface StyleVisitor
fts
- the feature type styler to visitpublic void visit(Fill fill)
StyleVisitor
visit
in interface StyleVisitor
fill
- the fill to be visitedpublic void visit(Stroke stroke)
StyleVisitor
visit
in interface StyleVisitor
stroke
- the stroke to visitpublic void visit(Symbolizer sym)
StyleVisitor
visit
in interface StyleVisitor
sym
- the symbolizer to visitpublic void visit(PointSymbolizer ps)
StyleVisitor
visit
in interface StyleVisitor
ps
- the point symbolizer to visitpublic void visit(LineSymbolizer line)
StyleVisitor
visit
in interface StyleVisitor
line
- the line symbolizer to visitpublic void visit(PolygonSymbolizer poly)
StyleVisitor
visit
in interface StyleVisitor
poly
- the polygon symbolizer to visitpublic void visit(TextSymbolizer text)
StyleVisitor
visit
in interface StyleVisitor
text
- the text symbolizer to visitpublic void visit(RasterSymbolizer raster)
StyleVisitor
visit
in interface StyleVisitor
raster
- the raster symbolizer to visitpublic void visit(Graphic gr)
StyleVisitor
visit
in interface StyleVisitor
gr
- the graphic to visitpublic void visit(Mark mark)
StyleVisitor
visit
in interface StyleVisitor
mark
- the mark to visitpublic void visit(ExternalGraphic exgr)
StyleVisitor
visit
in interface StyleVisitor
exgr
- the external graphic to visitpublic void visit(PointPlacement pp)
StyleVisitor
visit
in interface StyleVisitor
pp
- the point placement to visitpublic void visit(AnchorPoint ap)
StyleVisitor
visit
in interface StyleVisitor
ap
- the anchor point to visitpublic void visit(Displacement dis)
StyleVisitor
visit
in interface StyleVisitor
dis
- the displacement to visitpublic void visit(LinePlacement lp)
StyleVisitor
visit
in interface StyleVisitor
lp
- the line placement to visitpublic void visit(Halo halo)
StyleVisitor
visit
in interface StyleVisitor
halo
- the halo to visitpublic void visit(FeatureTypeConstraint ftc)
StyleVisitor
visit
in interface StyleVisitor
ftc
- The FeatureTypeConstraint to visit
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |