public class JsonLexicalProcessor extends AbstractJsonLexicalProcessor
LexicalProcessor.RootXNodeHandlerschemaRegistry| Constructor and Description |
|---|
JsonLexicalProcessor(SchemaRegistry schemaRegistry) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
canRead(File file)
Checks if the processor can read from a given file.
|
boolean |
canRead(String dataString)
Checks if the processor can read from a given string.
|
com.fasterxml.jackson.core.JsonGenerator |
createJacksonGenerator(StringWriter out) |
protected com.fasterxml.jackson.core.JsonParser |
createJacksonParser(InputStream stream) |
protected boolean |
supportsInlineTypes() |
protected QName |
tagToTypeName(Object tid,
com.evolveum.midpoint.prism.lex.json.AbstractJsonLexicalProcessor.JsonParsingContext ctx) |
protected void |
writeInlineType(QName typeName,
com.evolveum.midpoint.prism.lex.json.AbstractJsonLexicalProcessor.JsonSerializationContext ctx) |
getExplicitType, read, readObjects, readObjectsIteratively, resetInlineTypeIfPossible, write, write, writepublic JsonLexicalProcessor(@NotNull
SchemaRegistry schemaRegistry)
public boolean canRead(@NotNull
File file)
throws IOException
LexicalProcessorIOExceptionpublic boolean canRead(@NotNull
String dataString)
LexicalProcessorprotected com.fasterxml.jackson.core.JsonParser createJacksonParser(InputStream stream) throws SchemaException, IOException
createJacksonParser in class AbstractJsonLexicalProcessorSchemaExceptionIOExceptionpublic com.fasterxml.jackson.core.JsonGenerator createJacksonGenerator(StringWriter out) throws SchemaException
createJacksonGenerator in class AbstractJsonLexicalProcessorSchemaExceptionprotected QName tagToTypeName(Object tid, com.evolveum.midpoint.prism.lex.json.AbstractJsonLexicalProcessor.JsonParsingContext ctx)
tagToTypeName in class AbstractJsonLexicalProcessorprotected boolean supportsInlineTypes()
supportsInlineTypes in class AbstractJsonLexicalProcessorprotected void writeInlineType(QName typeName, com.evolveum.midpoint.prism.lex.json.AbstractJsonLexicalProcessor.JsonSerializationContext ctx) throws IOException
writeInlineType in class AbstractJsonLexicalProcessorIOExceptionCopyright © 2019 Evolveum. All rights reserved.