Package ru.ilb.jfunction.marshallers
Interface Marshaller
-
- All Known Implementing Classes:
MarshallerImpl
public interface Marshaller- Author:
- slavb
-
-
Field Summary
Fields Modifier and Type Field Description static MarshallerINSTANCE
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Objectmarshall(Object value)Marshalls value to required type Boolean, String and Number values marshalled "as is" to skip quotingObjectmarshall(Object value, Class type)Marshalls value to required type Boolean, String and Number values marshalled "as is" to skip quotingObjectmarshall(Object value, String type)Marshalls value to required type Boolean, String and Number values marshalled "as is" to skip quoting
-
-
-
Field Detail
-
INSTANCE
static final Marshaller INSTANCE
-
-
Method Detail
-
marshall
Object marshall(Object value)
Marshalls value to required type Boolean, String and Number values marshalled "as is" to skip quoting- Parameters:
value-- Returns:
-
marshall
Object marshall(Object value, String type)
Marshalls value to required type Boolean, String and Number values marshalled "as is" to skip quoting- Parameters:
value-type- canonical class name- Returns:
-
-