Package org.geotools.ysld.parse
Class StrokeParser
- Object
-
- YamlParseHandler
-
- YsldParseHandler
-
- StrokeParser
-
public abstract class StrokeParser extends YsldParseHandler
Handles parsing Ysld "stroke-*" (e.g., "stroke-color", "stroke-width", ... ) properties into aStroke
object.
-
-
Field Summary
-
Fields inherited from class YsldParseHandler
factory, LOG
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
StrokeParser(Factory factory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
handle(YamlObject<?> obj, YamlParseContext context)
Handle parsing the providedYamlObject
in the givenYamlParseContext
.protected abstract void
stroke(Stroke stroke)
-
-
-
Constructor Detail
-
StrokeParser
protected StrokeParser(Factory factory)
-
-
Method Detail
-
handle
public void handle(YamlObject<?> obj, YamlParseContext context)
Description copied from class:YamlParseHandler
Handle parsing the providedYamlObject
in the givenYamlParseContext
.- Specified by:
handle
in classYamlParseHandler
-
stroke
protected abstract void stroke(Stroke stroke)
-
-