public class ActionsJsonSerializer extends com.fasterxml.jackson.databind.JsonSerializer<Actions>
Modifier and Type | Field and Description |
---|---|
static String |
CLASS_NAME |
static String |
DATE_FORMAT |
static String |
DAYS |
static String |
DELIMITER |
static String |
END_INDEX |
static String |
FROM_UNIT |
static String |
INDEX |
static String |
MATCH |
static String |
METHOD_NAME |
static String |
NAME |
static String |
NEW_STRING |
static String |
PAD_CHARACTER |
static String |
PAD_COUNT |
static String |
SECONDS |
static String |
START_INDEX |
static String |
STRING |
static String |
TEMPLATE |
static String |
TO_UNIT |
static String |
VALUE |
Constructor and Description |
---|
ActionsJsonSerializer() |
Modifier and Type | Method and Description |
---|---|
void |
serialize(Actions actions,
com.fasterxml.jackson.core.JsonGenerator gen,
com.fasterxml.jackson.databind.SerializerProvider provider) |
protected void |
writeActionField(com.fasterxml.jackson.core.JsonGenerator gen,
Action action) |
protected void |
writeAddDays(com.fasterxml.jackson.core.JsonGenerator gen,
AddDays action) |
protected void |
writeAddSeconds(com.fasterxml.jackson.core.JsonGenerator gen,
AddSeconds action) |
protected void |
writeAppend(com.fasterxml.jackson.core.JsonGenerator gen,
Append action) |
protected void |
writeConcatenate(com.fasterxml.jackson.core.JsonGenerator gen,
Concatenate action) |
protected void |
writeContains(com.fasterxml.jackson.core.JsonGenerator gen,
Contains action) |
protected void |
writeConvertAreaUnit(com.fasterxml.jackson.core.JsonGenerator gen,
ConvertAreaUnit action) |
protected void |
writeConvertDistanceUnit(com.fasterxml.jackson.core.JsonGenerator gen,
ConvertDistanceUnit action) |
protected void |
writeConvertMassUnit(com.fasterxml.jackson.core.JsonGenerator gen,
ConvertMassUnit action) |
protected void |
writeConvertVolumeUnit(com.fasterxml.jackson.core.JsonGenerator gen,
ConvertVolumeUnit action) |
protected void |
writeCustomAction(com.fasterxml.jackson.core.JsonGenerator gen,
CustomAction customAction) |
protected void |
writeEndsWith(com.fasterxml.jackson.core.JsonGenerator gen,
EndsWith action) |
protected void |
writeEquals(com.fasterxml.jackson.core.JsonGenerator gen,
Equals action) |
protected void |
writeFormat(com.fasterxml.jackson.core.JsonGenerator gen,
Format action) |
protected void |
writeIndexOf(com.fasterxml.jackson.core.JsonGenerator gen,
IndexOf action) |
protected void |
writeItemAt(com.fasterxml.jackson.core.JsonGenerator gen,
ItemAt action) |
protected void |
writeLastIndexOf(com.fasterxml.jackson.core.JsonGenerator gen,
LastIndexOf action) |
protected void |
writePadStringLeft(com.fasterxml.jackson.core.JsonGenerator gen,
PadStringLeft padStringLeft) |
protected void |
writePadStringRight(com.fasterxml.jackson.core.JsonGenerator gen,
PadStringRight padStringRight) |
protected void |
writePrepend(com.fasterxml.jackson.core.JsonGenerator gen,
Prepend action) |
protected void |
writeReplaceAll(com.fasterxml.jackson.core.JsonGenerator gen,
ReplaceAll action) |
protected void |
writeReplaceFirst(com.fasterxml.jackson.core.JsonGenerator gen,
ReplaceFirst action) |
protected void |
writeSplit(com.fasterxml.jackson.core.JsonGenerator gen,
Split action) |
protected void |
writeStartsWith(com.fasterxml.jackson.core.JsonGenerator gen,
StartsWith action) |
protected void |
writeSubString(com.fasterxml.jackson.core.JsonGenerator gen,
SubString subString) |
protected void |
writeSubStringAfter(com.fasterxml.jackson.core.JsonGenerator gen,
SubStringAfter subStringAfter) |
protected void |
writeSubStringBefore(com.fasterxml.jackson.core.JsonGenerator gen,
SubStringBefore subStringBefore) |
public static final String NAME
public static final String CLASS_NAME
public static final String DATE_FORMAT
public static final String DAYS
public static final String DELIMITER
public static final String END_INDEX
public static final String FROM_UNIT
public static final String MATCH
public static final String METHOD_NAME
public static final String NEW_STRING
public static final String PAD_CHARACTER
public static final String PAD_COUNT
public static final String SECONDS
public static final String START_INDEX
public static final String STRING
public static final String TEMPLATE
public static final String TO_UNIT
public static final String VALUE
public static final String INDEX
public void serialize(Actions actions, com.fasterxml.jackson.core.JsonGenerator gen, com.fasterxml.jackson.databind.SerializerProvider provider) throws IOException
serialize
in class com.fasterxml.jackson.databind.JsonSerializer<Actions>
IOException
protected void writeActionField(com.fasterxml.jackson.core.JsonGenerator gen, Action action) throws IOException
IOException
protected void writeAddDays(com.fasterxml.jackson.core.JsonGenerator gen, AddDays action) throws IOException
IOException
protected void writeAddSeconds(com.fasterxml.jackson.core.JsonGenerator gen, AddSeconds action) throws IOException
IOException
protected void writeAppend(com.fasterxml.jackson.core.JsonGenerator gen, Append action) throws IOException
IOException
protected void writeConcatenate(com.fasterxml.jackson.core.JsonGenerator gen, Concatenate action) throws IOException
IOException
protected void writeContains(com.fasterxml.jackson.core.JsonGenerator gen, Contains action) throws IOException
IOException
protected void writeConvertAreaUnit(com.fasterxml.jackson.core.JsonGenerator gen, ConvertAreaUnit action) throws IOException
IOException
protected void writeConvertDistanceUnit(com.fasterxml.jackson.core.JsonGenerator gen, ConvertDistanceUnit action) throws IOException
IOException
protected void writeConvertMassUnit(com.fasterxml.jackson.core.JsonGenerator gen, ConvertMassUnit action) throws IOException
IOException
protected void writeConvertVolumeUnit(com.fasterxml.jackson.core.JsonGenerator gen, ConvertVolumeUnit action) throws IOException
IOException
protected void writeCustomAction(com.fasterxml.jackson.core.JsonGenerator gen, CustomAction customAction) throws IOException
IOException
protected void writeEndsWith(com.fasterxml.jackson.core.JsonGenerator gen, EndsWith action) throws IOException
IOException
protected void writeEquals(com.fasterxml.jackson.core.JsonGenerator gen, Equals action) throws IOException
IOException
protected void writeFormat(com.fasterxml.jackson.core.JsonGenerator gen, Format action) throws IOException
IOException
protected void writeIndexOf(com.fasterxml.jackson.core.JsonGenerator gen, IndexOf action) throws IOException
IOException
protected void writeItemAt(com.fasterxml.jackson.core.JsonGenerator gen, ItemAt action) throws IOException
IOException
protected void writeLastIndexOf(com.fasterxml.jackson.core.JsonGenerator gen, LastIndexOf action) throws IOException
IOException
protected void writePadStringLeft(com.fasterxml.jackson.core.JsonGenerator gen, PadStringLeft padStringLeft) throws IOException
IOException
protected void writePadStringRight(com.fasterxml.jackson.core.JsonGenerator gen, PadStringRight padStringRight) throws IOException
IOException
protected void writePrepend(com.fasterxml.jackson.core.JsonGenerator gen, Prepend action) throws IOException
IOException
protected void writeReplaceAll(com.fasterxml.jackson.core.JsonGenerator gen, ReplaceAll action) throws IOException
IOException
protected void writeReplaceFirst(com.fasterxml.jackson.core.JsonGenerator gen, ReplaceFirst action) throws IOException
IOException
protected void writeSplit(com.fasterxml.jackson.core.JsonGenerator gen, Split action) throws IOException
IOException
protected void writeStartsWith(com.fasterxml.jackson.core.JsonGenerator gen, StartsWith action) throws IOException
IOException
protected void writeSubString(com.fasterxml.jackson.core.JsonGenerator gen, SubString subString) throws IOException
IOException
protected void writeSubStringAfter(com.fasterxml.jackson.core.JsonGenerator gen, SubStringAfter subStringAfter) throws IOException
IOException
protected void writeSubStringBefore(com.fasterxml.jackson.core.JsonGenerator gen, SubStringBefore subStringBefore) throws IOException
IOException
Copyright © 2018 JBoss by Red Hat. All rights reserved.