Package org.geotools.ysld.parse
Class YamlParser
Object
YamlParser
- Direct Known Subclasses:
YsldParser
Base Yaml parsing class, responsible for parsing the yaml input into a
YamlObject
} and then delegating to a
YamlParseHandler
. See {@link #parse(YamlParseHandler, Map))}.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<T extends YamlParseHandler>
Tparse
(T root) <T extends YamlParseHandler>
TParse the yaml provided to this instance using the providedYamlParseHandler
.
-
Constructor Details
-
YamlParser
-
YamlParser
-
-
Method Details
-
parse
- Throws:
IOException
-
parse
Parse the yaml provided to this instance using the providedYamlParseHandler
.- Parameters:
root
- TheYamlParseHandler
that handles the root of the parsedYamlObject
.- Returns:
- The root
YamlParseHandler
, once it has finished handling the parsedYamlObject
.. - Throws:
IOException
-