Class JsonReader
- java.lang.Object
-
- com.evolveum.midpoint.prism.impl.lex.json.reader.AbstractReader
-
- com.evolveum.midpoint.prism.impl.lex.json.reader.JsonReader
-
public class JsonReader 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 JsonReader(@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 com.fasterxml.jackson.core.JsonParser
createJacksonParser(InputStream stream)
protected QName
tagToTypeName(Object tid, 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
-
JsonReader
public JsonReader(@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 com.fasterxml.jackson.core.JsonParser createJacksonParser(InputStream stream) throws IOException
- Specified by:
createJacksonParser
in classAbstractReader
- Throws:
IOException
-
tagToTypeName
protected QName tagToTypeName(Object tid, com.evolveum.midpoint.prism.impl.lex.json.reader.JsonReadingContext ctx)
- Specified by:
tagToTypeName
in classAbstractReader
-
-