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 aStrokeobject.
-
-
Field Summary
-
Fields inherited from class YsldParseHandler
factory, LOG
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedStrokeParser(Factory factory)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidhandle(YamlObject<?> obj, YamlParseContext context)Handle parsing the providedYamlObjectin the givenYamlParseContext.protected abstract voidstroke(Stroke stroke)
-
-
-
Constructor Detail
-
StrokeParser
protected StrokeParser(Factory factory)
-
-
Method Detail
-
handle
public void handle(YamlObject<?> obj, YamlParseContext context)
Description copied from class:YamlParseHandlerHandle parsing the providedYamlObjectin the givenYamlParseContext.- Specified by:
handlein classYamlParseHandler
-
stroke
protected abstract void stroke(Stroke stroke)
-
-