Uses of Interface
org.codehaus.jackson.FormatSchema
-
Packages that use FormatSchema Package Description org.codehaus.jackson Main public API classes of the core streaming JSON processor: most importantlyJsonFactoryused for constructing JSON parser (JsonParser) and generator (JsonParser) instances.org.codehaus.jackson.map Contains basic mapper (conversion) functionality that allows for converting between regular streaming json content and Java objects (beans or Tree Model: support for both is viaObjectMapperclass, as well as convenience methods included inJsonParserorg.codehaus.jackson.util Utility classes used by Jackson Core functionality. -
-
Uses of FormatSchema in org.codehaus.jackson
Methods in org.codehaus.jackson with parameters of type FormatSchema Modifier and Type Method Description booleanJsonGenerator. canUseSchema(FormatSchema schema)Method that can be used to verify that given schema can be used with this generator (usingJsonGenerator.setSchema(org.codehaus.jackson.FormatSchema)).booleanJsonParser. canUseSchema(FormatSchema schema)Method that can be used to verify that given schema can be used with this parser (usingJsonParser.setSchema(org.codehaus.jackson.FormatSchema)).voidJsonGenerator. setSchema(FormatSchema schema)Method to call to make this generator use specified schema.voidJsonParser. setSchema(FormatSchema schema)Method to call to make this parser use specified schema. -
Uses of FormatSchema in org.codehaus.jackson.map
Fields in org.codehaus.jackson.map declared as FormatSchema Modifier and Type Field Description protected FormatSchemaObjectReader. _schemaWhen using data format that uses a schema, schema is passed to parser.protected FormatSchemaObjectWriter. _schemaWhen using data format that uses a schema, schema is passed to generator.Methods in org.codehaus.jackson.map with parameters of type FormatSchema Modifier and Type Method Description ObjectReaderObjectMapper. reader(FormatSchema schema)Factory method for constructingObjectReaderthat will pass specific schema object toJsonParserused for reading content.ObjectReaderObjectMapper. schemaBasedReader(FormatSchema schema)Deprecated.Since 1.9, useObjectMapper.reader(FormatSchema)instead.ObjectWriterObjectMapper. schemaBasedWriter(FormatSchema schema)Deprecated.Since 1.9, useObjectMapper.writer(FilterProvider)instead.ObjectReaderObjectReader. withSchema(FormatSchema schema)Method for constructing a new instance with configuration that passes specifiedFormatSchematoJsonParserthat is constructed for parsing content.ObjectWriterObjectWriter. withSchema(FormatSchema schema)ObjectWriterObjectMapper. writer(FormatSchema schema)Factory method for constructingObjectWriterthat will pass specific schema object toJsonGeneratorused for writing content.Constructors in org.codehaus.jackson.map with parameters of type FormatSchema Constructor Description ObjectReader(ObjectMapper mapper, DeserializationConfig config, JavaType valueType, java.lang.Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues)ObjectReader(ObjectReader base, DeserializationConfig config, JavaType valueType, java.lang.Object valueToUpdate, FormatSchema schema, InjectableValues injectableValues)Copy constructor used for building variations.ObjectWriter(ObjectMapper mapper, SerializationConfig config, FormatSchema s)Alternative constructor for initial instantiation.ObjectWriter(ObjectWriter base, SerializationConfig config, JavaType rootType, PrettyPrinter pp, FormatSchema s)Copy constructor used for building variations. -
Uses of FormatSchema in org.codehaus.jackson.util
Methods in org.codehaus.jackson.util with parameters of type FormatSchema Modifier and Type Method Description booleanJsonGeneratorDelegate. canUseSchema(FormatSchema schema)booleanJsonParserDelegate. canUseSchema(FormatSchema schema)voidJsonGeneratorDelegate. setSchema(FormatSchema schema)voidJsonParserDelegate. setSchema(FormatSchema schema)
-