|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An interface for classes that want to perform operations on a Style hierarchy. It forms part of a GoF Visitor Patern implementation. A call to style.accept(StyleVisitor) will result in a call to one of the methods in this interface. The responsibility for traversing sub filters is intended to lie with the visitor (this is unusual, but permited under the Visitor pattern). A typical use would be to transcribe a style into a specific format, e.g. XML or SQL. Alternativly it may be to extract specific information from the Style structure, for example a list of all fills.
Method Summary | |
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. |
Method Detail |
public void visit(StyledLayerDescriptor sld)
sld
- The StyledLayerDescriptor to visitpublic void visit(NamedLayer layer)
layer
- The NamedLayer to visitpublic void visit(UserLayer layer)
layer
- The UserLayer to visitpublic void visit(FeatureTypeConstraint ftc)
ftc
- The FeatureTypeConstraint to visitpublic void visit(Style style)
style
- The style to visitpublic void visit(Rule rule)
rule
- the rule to visitpublic void visit(FeatureTypeStyle fts)
fts
- the feature type styler to visitpublic void visit(Fill fill)
fill
- the fill to be visitedpublic void visit(Stroke stroke)
stroke
- the stroke to visitpublic void visit(Symbolizer sym)
sym
- the symbolizer to visitpublic void visit(PointSymbolizer ps)
ps
- the point symbolizer to visitpublic void visit(LineSymbolizer line)
line
- the line symbolizer to visitpublic void visit(PolygonSymbolizer poly)
poly
- the polygon symbolizer to visitpublic void visit(TextSymbolizer text)
text
- the text symbolizer to visitpublic void visit(RasterSymbolizer raster)
raster
- the raster symbolizer to visitpublic void visit(Graphic gr)
gr
- the graphic to visitpublic void visit(Mark mark)
mark
- the mark to visitpublic void visit(ExternalGraphic exgr)
exgr
- the external graphic to visitpublic void visit(PointPlacement pp)
pp
- the point placement to visitpublic void visit(AnchorPoint ap)
ap
- the anchor point to visitpublic void visit(Displacement dis)
dis
- the displacement to visitpublic void visit(LinePlacement lp)
lp
- the line placement to visitpublic void visit(Halo halo)
halo
- the halo to visit
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |