org.dominokit.jacksonapt.JacksonContext Maven / Gradle / Ivy
package org.dominokit.jacksonapt;
import org.dominokit.jacksonapt.deser.bean.MapLike;
import org.dominokit.jacksonapt.deser.map.key.DateKeyParser;
import org.dominokit.jacksonapt.stream.JsonReader;
import org.dominokit.jacksonapt.stream.Stack;
import java.util.Date;
/**
* JacksonContext interface.
*
* @author vegegoku
* @version $Id: $Id
*/
public interface JacksonContext {
/**
* dateFormat.
*
* @return a {@link org.dominokit.jacksonapt.JacksonContext.DateFormat} object.
*/
DateFormat dateFormat();
/**
* integerStackFactory.
*
* @return a {@link org.dominokit.jacksonapt.JacksonContext.IntegerStackFactory} object.
*/
IntegerStackFactory integerStackFactory();
/**
* mapLikeFactory.
*
* @return a {@link org.dominokit.jacksonapt.JacksonContext.MapLikeFactory} object.
*/
MapLikeFactory mapLikeFactory();
/**
* stringifier.
*
* @return a {@link org.dominokit.jacksonapt.JacksonContext.ValueStringifier} object.
*/
ValueStringifier stringifier();
/**
* stringArrayReader.
*
* @return a {@link org.dominokit.jacksonapt.JacksonContext.StringArrayReader} object.
*/
StringArrayReader stringArrayReader();
/**
* shortArrayReader.
*
* @return a {@link org.dominokit.jacksonapt.JacksonContext.ShortArrayReader} object.
*/
ShortArrayReader shortArrayReader();
/**
* integerArrayReader.
*
* @return a {@link org.dominokit.jacksonapt.JacksonContext.IntegerArrayReader} object.
*/
IntegerArrayReader integerArrayReader();
/**
* doubleArrayReader.
*
* @return a {@link org.dominokit.jacksonapt.JacksonContext.DoubleArrayReader} object.
*/
DoubleArrayReader doubleArrayReader();
/**
* defaultSerializerParameters.
*
* @return a {@link org.dominokit.jacksonapt.JsonSerializerParameters} object.
*/
JsonSerializerParameters defaultSerializerParameters();
/**
*newSerializerParameters
* @return a new instance of {@link JsonSerializerParameters} object
*/
JsonSerializerParameters newSerializerParameters();
/**
* defaultDeserializerParameters.
*
* @return a {@link org.dominokit.jacksonapt.JsonDeserializerParameters} object.
*/
JsonDeserializerParameters defaultDeserializerParameters();
/**
*newDeserializerParameters
* @return a new instance of {@link JsonDeserializerParameters} object
*/
JsonDeserializerParameters newDeserializerParameters();
interface DateFormat{
String format(Date date);
String format(JsonSerializerParameters params, Date date);
Date parse(boolean useBrowserTimezone, String pattern, Boolean hasTz, String date);
DateKeyParser makeDateKeyParser();
}
interface IntegerStackFactory{
Stack make();
}
interface ValueStringifier{
String stringify(String value);
}
interface MapLikeFactory{
MapLike make();
}
interface StringArrayReader {
String[] readArray(JsonReader reader);
}
interface ShortArrayReader {
short[] readArray(JsonReader reader);
}
interface IntegerArrayReader {
int[] readArray(JsonReader reader);
}
interface DoubleArrayReader {
double[] readArray(JsonReader reader);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy