Class YamlReader
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.lex.json.reader.AbstractReader
-
- com.evolveum.midpoint.prism.impl.lex.json.reader.YamlReader
-
public class YamlReader extends AbstractReader
-
-
Field Summary
-
Fields inherited from class com.evolveum.midpoint.prism.impl.lex.json.reader.AbstractReader
OBJECT_MAPPER, schemaRegistry
-
-
Constructor Summary
Constructors Constructor Description YamlReader(@NotNull SchemaRegistry schemaRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canRead(@NotNull File file)
boolean
canRead(@NotNull String dataString)
protected MidpointYAMLParser
createJacksonParser(InputStream stream)
protected QName
tagToTypeName(Object tag, com.evolveum.midpoint.prism.impl.lex.json.reader.JsonReadingContext ctx)
-
Methods inherited from class com.evolveum.midpoint.prism.impl.lex.json.reader.AbstractReader
read, readObjects, readObjectsIteratively
-
-
-
-
Constructor Detail
-
YamlReader
public YamlReader(@NotNull @NotNull SchemaRegistry schemaRegistry)
-
-
Method Detail
-
canRead
public boolean canRead(@NotNull @NotNull File file)
- Specified by:
canRead
in classAbstractReader
-
canRead
public boolean canRead(@NotNull @NotNull String dataString)
- Specified by:
canRead
in classAbstractReader
-
createJacksonParser
protected MidpointYAMLParser createJacksonParser(InputStream stream) throws IOException
- Specified by:
createJacksonParser
in classAbstractReader
- Throws:
IOException
-
tagToTypeName
protected QName tagToTypeName(Object tag, com.evolveum.midpoint.prism.impl.lex.json.reader.JsonReadingContext ctx) throws IOException, SchemaException
- Specified by:
tagToTypeName
in classAbstractReader
- Throws:
IOException
SchemaException
-
-