Class YamlParser<E>
- java.lang.Object
- 
- org.keycloak.models.map.storage.file.yaml.YamlParser<E>
 
- 
 public class YamlParser<E> extends Object - Author:
- hmlnarik
 
- 
- 
Field SummaryFields Modifier and Type Field Description static StringARRAY_CONTEXT
 - 
Constructor SummaryConstructors Modifier Constructor Description protectedYamlParser(org.snakeyaml.engine.v2.parser.Parser p, BlockContext<E> initialContext)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected <E> Eparse()static <E> Eparse(Path path, BlockContext<E> initialContext)protected ObjectparseMapping()Parses a mapping node inside the current context.protected ObjectparseNode()protected ObjectparseScalar(org.snakeyaml.engine.v2.events.ScalarEvent se)Parses a scalar node inside the current context.protected ObjectparseSequence()Parses a sequence node inside the current context.
 
- 
- 
- 
Field Detail- 
ARRAY_CONTEXTpublic static final String ARRAY_CONTEXT - See Also:
- Constant Field Values
 
 
- 
 - 
Constructor Detail- 
YamlParserprotected YamlParser(org.snakeyaml.engine.v2.parser.Parser p, BlockContext<E> initialContext)
 
- 
 - 
Method Detail- 
parsepublic static <E> E parse(Path path, BlockContext<E> initialContext) 
 - 
parseprotected <E> E parse() 
 - 
parseNodeprotected Object parseNode() 
 - 
parseSequenceprotected Object parseSequence() Parses a sequence node inside the current context. Each sequence item is parsed in the context supplied by the current- Returns:
 
 - 
parseMappingprotected Object 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:
 
 - 
parseScalarprotected Object parseScalar(org.snakeyaml.engine.v2.events.ScalarEvent se) Parses a scalar node inside the current context.- Returns:
 
 
- 
 
-