Class YamlParser<E>
java.lang.Object
org.keycloak.models.map.storage.file.yaml.YamlParser<E>
- Author:
- hmlnarik
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedYamlParser(org.snakeyaml.engine.v2.parser.Parser p, BlockContext<E> initialContext) -
Method Summary
Modifier and TypeMethodDescriptionprotected <E> Eparse()static <E> Eparse(Path path, BlockContext<E> initialContext) protected ObjectParses a mapping node inside the current context.protected Objectprotected ObjectparseScalar(org.snakeyaml.engine.v2.events.ScalarEvent se) Parses a scalar node inside the current context.protected ObjectParses 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:
-