Class YamlParser<E>
java.lang.Object
org.keycloak.models.map.storage.file.yaml.YamlParser<E>
- Author:
- hmlnarik
-
Field Summary
-
Constructor Summary
ModifierConstructorDescriptionprotected
YamlParser
(org.snakeyaml.engine.v2.parser.Parser p, BlockContext<E> initialContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected <E> E
parse()
static <E> E
parse
(Path path, BlockContext<E> initialContext) protected Object
Parses a mapping node inside the current context.protected Object
protected Object
parseScalar
(org.snakeyaml.engine.v2.events.ScalarEvent se) Parses a scalar node inside the current context.protected Object
Parses a sequence node inside the current context.
-
Field Details
-
ARRAY_CONTEXT
- See Also:
-
-
Constructor Details
-
YamlParser
-
-
Method Details
-
parse
-
parse
protected <E> E parse() -
parseNode
-
parseSequence
Parses a sequence node inside the current context. Each sequence item is parsed in the context supplied by the current- Returns:
-
parseMapping
Parses a mapping node inside the current context. Each mapping value is parsed in the context supplied by the current context for the mapping key.- Returns:
-
parseScalar
Parses a scalar node inside the current context.- Returns:
-