Uses of Class
org.codehaus.jackson.map.SerializerProvider

Packages that use SerializerProvider
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.map.ext Contains extended support for "external" packages: things that may or may not be present in runtime environment, but that are commonly enough used so that explicit support can be added. 
org.codehaus.jackson.map.ser Contains implementation classes of serialization part of data binding. 
org.codehaus.jackson.map.util Utility classes for Mapper package. 
org.codehaus.jackson.node Contains concrete JsonNode implementations Jackson uses for the Tree model. 
org.codehaus.jackson.schema Classes needed for JSON schema support (currently just ability to generate schemas using serialization part of data mapping) 
org.codehaus.jackson.xc Package that contains XML Compatibility functionality for Jackson, such as handlers for JAXB annotations 
 

Uses of SerializerProvider in org.codehaus.jackson.map
 

Fields in org.codehaus.jackson.map declared as SerializerProvider
protected  SerializerProvider ObjectWriter._provider
           
protected  SerializerProvider ObjectMapper._serializerProvider
          Object that manages access to serializers used for serialization, including caching.
 

Methods in org.codehaus.jackson.map that return SerializerProvider
 SerializerProvider ObjectMapper.getSerializerProvider()
           
 

Methods in org.codehaus.jackson.map with parameters of type SerializerProvider
 void ResolvableSerializer.resolve(SerializerProvider provider)
          Method called after SerializerProvider has registered the serializer, but before it has returned it to the caller.
 void JsonSerializable.serialize(JsonGenerator jgen, SerializerProvider provider)
          Deprecated.  
abstract  void JsonSerializer.serialize(T value, JsonGenerator jgen, SerializerProvider provider)
          Method that can be called to ask implementation to serialize values of type this serializer handles.
 void JsonSerializableWithType.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void JsonSerializer.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
          Method that can be called to ask implementation to serialize values of type this serializer handles, using specified type serializer for embedding necessary type information.
 ObjectMapper ObjectMapper.setSerializerProvider(SerializerProvider p)
          Method for setting specific SerializerProvider to use for handling caching of JsonSerializer instances.
 

Constructors in org.codehaus.jackson.map with parameters of type SerializerProvider
ObjectMapper(JsonFactory jf, SerializerProvider sp, DeserializerProvider dp)
           
ObjectMapper(JsonFactory jf, SerializerProvider sp, DeserializerProvider dp, SerializationConfig sconfig, DeserializationConfig dconfig)
           
 

Uses of SerializerProvider in org.codehaus.jackson.map.ext
 

Methods in org.codehaus.jackson.map.ext with parameters of type SerializerProvider
 JsonNode JodaSerializers.DateTimeSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JodaSerializers.LocalDateTimeSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JodaSerializers.LocalDateSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JodaSerializers.DateMidnightSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode DOMSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode CoreXMLSerializers.XMLGregorianCalendarSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 void JodaSerializers.DateMidnightSerializer.serialize(DateMidnight dt, JsonGenerator jgen, SerializerProvider provider)
           
 void JodaSerializers.DateTimeSerializer.serialize(DateTime value, JsonGenerator jgen, SerializerProvider provider)
           
 void JodaSerializers.LocalDateSerializer.serialize(LocalDate dt, JsonGenerator jgen, SerializerProvider provider)
           
 void JodaSerializers.LocalDateTimeSerializer.serialize(LocalDateTime dt, JsonGenerator jgen, SerializerProvider provider)
           
 void DOMSerializer.serialize(Node value, JsonGenerator jgen, SerializerProvider provider)
           
 void CoreXMLSerializers.XMLGregorianCalendarSerializer.serialize(XMLGregorianCalendar value, JsonGenerator jgen, SerializerProvider provider)
           
 

Uses of SerializerProvider in org.codehaus.jackson.map.ser
 

Subclasses of SerializerProvider in org.codehaus.jackson.map.ser
 class StdSerializerProvider
          Default SerializerProvider implementation.
 

Methods in org.codehaus.jackson.map.ser with parameters of type SerializerProvider
 void AnyGetterWriter.getAndSerialize(Object bean, JsonGenerator jgen, SerializerProvider provider)
           
 JsonNode ToStringSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.BooleanSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.StringSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.IntegerSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.IntLikeSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.LongSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.FloatSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.DoubleSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.NumberSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.CalendarSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.UtilDateSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.SqlDateSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.SqlTimeSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.SerializableSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.SerializableWithTypeSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdSerializers.TokenBufferSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode StdKeySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
abstract  JsonNode SerializerBase.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode NullSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode MapSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JsonValueSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JdkSerializers.AtomicBooleanSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JdkSerializers.AtomicIntegerSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JdkSerializers.AtomicLongSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JdkSerializers.AtomicReferenceSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JdkSerializers.FileSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode JdkSerializers.ClassSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode FailingSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode EnumSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode EnumMapSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode BeanSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.ObjectArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.StringArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.BooleanArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.ByteArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.ShortArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.CharArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.IntArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.LongArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.FloatArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode ArraySerializers.DoubleArraySerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 void MapSerializer.resolve(SerializerProvider provider)
          Need to get callback to resolve value serializer, if static typing is used (either being forced, or because value type is final)
 void JsonValueSerializer.resolve(SerializerProvider provider)
          We can try to find the actual serializer for value, if we can statically figure out what the result type must be.
 void EnumMapSerializer.resolve(SerializerProvider provider)
           
 void BeanSerializer.resolve(SerializerProvider provider)
           
 void ArraySerializers.ObjectArraySerializer.resolve(SerializerProvider provider)
          Need to get callback to resolve value serializer, if static typing is used (either being forced, or because value type is final)
 void AnyGetterWriter.resolve(SerializerProvider provider)
           
 void JdkSerializers.AtomicBooleanSerializer.serialize(AtomicBoolean value, JsonGenerator jgen, SerializerProvider provider)
           
 void JdkSerializers.AtomicIntegerSerializer.serialize(AtomicInteger value, JsonGenerator jgen, SerializerProvider provider)
           
 void JdkSerializers.AtomicLongSerializer.serialize(AtomicLong value, JsonGenerator jgen, SerializerProvider provider)
           
 void JdkSerializers.AtomicReferenceSerializer.serialize(AtomicReference<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.BooleanSerializer.serialize(Boolean value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.ByteArraySerializer.serialize(byte[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.CalendarSerializer.serialize(Calendar value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.CharArraySerializer.serialize(char[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void JdkSerializers.ClassSerializer.serialize(Class value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.UtilDateSerializer.serialize(Date value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.SqlDateSerializer.serialize(Date value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.DoubleSerializer.serialize(Double value, JsonGenerator jgen, SerializerProvider provider)
           
 void EnumSerializer.serialize(Enum<?> en, JsonGenerator jgen, SerializerProvider provider)
           
 void EnumMapSerializer.serialize(EnumMap<? extends Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void JdkSerializers.FileSerializer.serialize(File value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.FloatSerializer.serialize(Float value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.IntegerSerializer.serialize(Integer value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.SerializableSerializer.serialize(JsonSerializable value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.SerializableWithTypeSerializer.serialize(JsonSerializableWithType value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.LongSerializer.serialize(Long value, JsonGenerator jgen, SerializerProvider provider)
           
 void MapSerializer.serialize(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.IntLikeSerializer.serialize(Number value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.NumberSerializer.serialize(Number value, JsonGenerator jgen, SerializerProvider provider)
           
 void ToStringSerializer.serialize(Object value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdKeySerializer.serialize(Object value, JsonGenerator jgen, SerializerProvider provider)
           
 void NullSerializer.serialize(Object value, JsonGenerator jgen, SerializerProvider provider)
           
 void JsonValueSerializer.serialize(Object bean, JsonGenerator jgen, SerializerProvider prov)
           
 void FailingSerializer.serialize(Object value, JsonGenerator jgen, SerializerProvider provider)
           
 void BeanSerializer.serialize(Object bean, JsonGenerator jgen, SerializerProvider provider)
          Main serialization method that will delegate actual output to configured BeanPropertyWriter instances.
 void StdSerializers.StringSerializer.serialize(String value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.SqlTimeSerializer.serialize(Time value, JsonGenerator jgen, SerializerProvider provider)
           
abstract  void SerializerBase.serialize(T value, JsonGenerator jgen, SerializerProvider provider)
           
 void StdSerializers.TokenBufferSerializer.serialize(TokenBuffer value, JsonGenerator jgen, SerializerProvider provider)
           
 void BeanPropertyWriter.serializeAsField(Object bean, JsonGenerator jgen, SerializerProvider prov)
          Method called to access property that this bean stands for, from within given bean, and to serialize it as a JSON Object field using appropriate serializer.
 void ArraySerializers.BooleanArraySerializer.serializeContents(boolean[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.CollectionSerializer.serializeContents(Collection<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.DoubleArraySerializer.serializeContents(double[] value, JsonGenerator jgen, SerializerProvider provider)
           
protected  void EnumMapSerializer.serializeContents(EnumMap<? extends Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.EnumSetSerializer.serializeContents(EnumSet<? extends Enum<?>> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.FloatArraySerializer.serializeContents(float[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.IntArraySerializer.serializeContents(int[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.IterableSerializer.serializeContents(Iterable<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.IteratorSerializer.serializeContents(Iterator<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.IndexedListSerializer.serializeContents(List<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.LongArraySerializer.serializeContents(long[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.ObjectArraySerializer.serializeContents(Object[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.ShortArraySerializer.serializeContents(short[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.StringArraySerializer.serializeContents(String[] value, JsonGenerator jgen, SerializerProvider provider)
           
 void ContainerSerializers.CollectionSerializer.serializeContentsUsing(Collection<?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser)
           
protected  void EnumMapSerializer.serializeContentsUsing(EnumMap<? extends Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> valueSer)
           
 void ContainerSerializers.IndexedListSerializer.serializeContentsUsing(List<?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser)
           
 void ArraySerializers.ObjectArraySerializer.serializeContentsUsing(Object[] value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser)
           
protected  void MapSerializer.serializeFields(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider)
          Method called to serialize fields, when the value type is not statically known.
protected  void BeanSerializer.serializeFields(Object bean, JsonGenerator jgen, SerializerProvider provider)
           
protected  void MapSerializer.serializeFieldsUsing(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider, JsonSerializer<Object> ser)
          Method called to serialize fields, when the value type is statically known, so that value serializer is passed and does not need to be fetched from provider.
 void ContainerSerializers.IndexedListSerializer.serializeTypedContents(List<?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.ObjectArraySerializer.serializeTypedContents(Object[] value, JsonGenerator jgen, SerializerProvider provider)
           
protected  void MapSerializer.serializeTypedFields(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider)
           
 void ArraySerializers.ByteArraySerializer.serializeWithType(byte[] value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void ArraySerializers.CharArraySerializer.serializeWithType(char[] value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void EnumMapSerializer.serializeWithType(EnumMap<? extends Enum<?>,?> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void StdSerializers.SerializableSerializer.serializeWithType(JsonSerializable value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void StdSerializers.SerializableWithTypeSerializer.serializeWithType(JsonSerializableWithType value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void MapSerializer.serializeWithType(Map<?,?> value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void BeanSerializer.serializeWithType(Object bean, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void StdSerializers.NonTypedScalarSerializer.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void ScalarSerializerBase.serializeWithType(T value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
          Default implementation will write type prefix, call regular serialization method (since assumption is that value itself does not need JSON Array or Object start/end markers), and then write type suffix.
 void StdSerializers.TokenBufferSerializer.serializeWithType(TokenBuffer value, JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
          Implementing typed output for contents of a TokenBuffer is very tricky, since we do not know for sure what its contents might look like (or, rather, we do know when serializing, but not necessarily when deserializing!) One possibility would be to check the current token, and use that to determine if we would output JSON Array, Object or scalar value.
 

Uses of SerializerProvider in org.codehaus.jackson.map.util
 

Methods in org.codehaus.jackson.map.util with parameters of type SerializerProvider
 void JSONWrappedObject.serialize(JsonGenerator jgen, SerializerProvider provider)
           
 void JSONPObject.serialize(JsonGenerator jgen, SerializerProvider provider)
           
 void JSONWrappedObject.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 void JSONPObject.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
           
 

Uses of SerializerProvider in org.codehaus.jackson.node
 

Methods in org.codehaus.jackson.node with parameters of type SerializerProvider
 void TextNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void POJONode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void ObjectNode.serialize(JsonGenerator jg, SerializerProvider provider)
          Method that can be called to serialize this node and all of its descendants using specified JSON generator.
 void NullNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void MissingNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void LongNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void IntNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void DoubleNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void DecimalNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void BooleanNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void BinaryNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void BigIntegerNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
abstract  void BaseJsonNode.serialize(JsonGenerator jgen, SerializerProvider provider)
          Method called to serialize node instances using given generator.
 void ArrayNode.serialize(JsonGenerator jg, SerializerProvider provider)
           
 void BaseJsonNode.serializeWithType(JsonGenerator jgen, SerializerProvider provider, TypeSerializer typeSer)
          Since JSON node typing is only based on JSON values, there is no need to include type information.
 

Uses of SerializerProvider in org.codehaus.jackson.schema
 

Methods in org.codehaus.jackson.schema with parameters of type SerializerProvider
 JsonNode SchemaAware.getSchema(SerializerProvider provider, Type typeHint)
          Get the representation of the schema to which this serializer will conform.
 

Uses of SerializerProvider in org.codehaus.jackson.xc
 

Methods in org.codehaus.jackson.xc with parameters of type SerializerProvider
 JsonNode XmlAdapterJsonSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode DomElementJsonSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 JsonNode DataHandlerJsonSerializer.getSchema(SerializerProvider provider, Type typeHint)
           
 void DataHandlerJsonSerializer.serialize(DataHandler value, JsonGenerator jgen, SerializerProvider provider)
           
 void DomElementJsonSerializer.serialize(Element value, JsonGenerator jgen, SerializerProvider provider)
           
 void XmlAdapterJsonSerializer.serialize(Object value, JsonGenerator jgen, SerializerProvider provider)