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
schemaRegistry
-
-
Constructor Summary
Constructors Constructor Description YamlReader(@NotNull SchemaRegistry schemaRegistry)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancanRead(@NotNull File file)booleancanRead(@NotNull String dataString)protected MidpointYAMLParsercreateJacksonParser(InputStream stream)protected QNametagToTypeName(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:
canReadin classAbstractReader
-
canRead
public boolean canRead(@NotNull @NotNull String dataString)- Specified by:
canReadin classAbstractReader
-
createJacksonParser
protected MidpointYAMLParser createJacksonParser(InputStream stream) throws IOException
- Specified by:
createJacksonParserin classAbstractReader- Throws:
IOException
-
tagToTypeName
protected QName tagToTypeName(Object tag, com.evolveum.midpoint.prism.impl.lex.json.reader.JsonReadingContext ctx) throws IOException, SchemaException
- Specified by:
tagToTypeNamein classAbstractReader- Throws:
IOExceptionSchemaException
-
-