|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use FormatSchema | |
---|---|
org.codehaus.jackson | Main public API classes of the core streaming JSON
processor: most importantly JsonFactory
used 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 via
ObjectMapper class, as well
as convenience methods included in
JsonParser |
org.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 | |
---|---|
boolean |
JsonParser.canUseSchema(FormatSchema schema)
Method that can be used to verify that given schema can be used with this parser (using JsonParser.setSchema(org.codehaus.jackson.FormatSchema) ). |
boolean |
JsonGenerator.canUseSchema(FormatSchema schema)
Method that can be used to verify that given schema can be used with this generator (using JsonGenerator.setSchema(org.codehaus.jackson.FormatSchema) ). |
void |
JsonParser.setSchema(FormatSchema schema)
Method to call to make this parser use specified schema. |
void |
JsonGenerator.setSchema(FormatSchema schema)
Method to call to make this generator use specified schema. |
Uses of FormatSchema in org.codehaus.jackson.map |
---|
Fields in org.codehaus.jackson.map declared as FormatSchema | |
---|---|
protected FormatSchema |
ObjectWriter._schema
When using data format that uses a schema, schema is passed to generator. |
protected FormatSchema |
ObjectReader._schema
When using data format that uses a schema, schema is passed to parser. |
Methods in org.codehaus.jackson.map with parameters of type FormatSchema | |
---|---|
ObjectReader |
ObjectMapper.schemaBasedReader(FormatSchema schema)
Factory method for constructing ObjectReader that will
pass specific schema object to JsonParser used for
reading content. |
ObjectWriter |
ObjectMapper.schemaBasedWriter(FormatSchema schema)
Factory method for constructing ObjectWriter that will
pass specific schema object to JsonGenerator used for
writing content. |
ObjectWriter |
ObjectWriter.withSchema(FormatSchema schema)
|
ObjectReader |
ObjectReader.withSchema(FormatSchema schema)
|
Constructors in org.codehaus.jackson.map with parameters of type FormatSchema | |
---|---|
ObjectReader(ObjectMapper mapper,
DeserializationConfig config,
JavaType valueType,
Object valueToUpdate,
FormatSchema schema)
|
|
ObjectReader(ObjectReader base,
DeserializationConfig config,
JavaType valueType,
Object valueToUpdate,
FormatSchema schema)
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 | |
---|---|
boolean |
JsonGeneratorDelegate.canUseSchema(FormatSchema schema)
|
boolean |
JsonParserDelegate.canUseSchema(FormatSchema schema)
|
void |
JsonGeneratorDelegate.setSchema(FormatSchema schema)
|
void |
JsonParserDelegate.setSchema(FormatSchema schema)
|
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |