public class RootParser extends YsldParseHandler
YsldParseHandler for the root of a YamlObject. This is the "entrypoint" YsldParseHandler for parsing Ysld into GeoTools-style objects. The resulting sld is accessible
via the {sld() method.factory, LOG| Constructor and Description |
|---|
RootParser() |
RootParser(List<ZoomContextFinder> zCtxtFinders) |
| Modifier and Type | Method and Description |
|---|---|
protected ZoomContext |
getZoomContext(YamlMap map) |
void |
handle(YamlObject<?> obj,
YamlParseContext context)
Handle parsing the provided
YamlObject in the given YamlParseContext. |
FeatureTypeStyle |
newFeatureTypeStyle() |
Rule |
newRule() |
StyledLayerDescriptor |
sld() |
public RootParser()
public RootParser(List<ZoomContextFinder> zCtxtFinders)
public void handle(YamlObject<?> obj, YamlParseContext context)
YamlParseHandlerYamlObject in the given YamlParseContext.handle in class YamlParseHandlerprotected ZoomContext getZoomContext(YamlMap map)
public FeatureTypeStyle newFeatureTypeStyle()
public Rule newRule()
public StyledLayerDescriptor sld()
Copyright © 1996–2019 Geotools. All rights reserved.