Interface ValueSerializer<TYPE>
-
- Type Parameters:
TYPE
- The type of value
- All Known Implementing Classes:
PrimitiveAdapter
,ValueAdapter
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface ValueSerializer<TYPE>
Value serializer, convert target value to base data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
serialize(@NotNull ConfigurationHolder<?> holder, @NotNull ValueType<? super TYPE> type, TYPE value)
-
-
-
Method Detail
-
serialize
java.lang.Object serialize(@NotNull @NotNull ConfigurationHolder<?> holder, @NotNull @NotNull ValueType<? super TYPE> type, @NotNull TYPE value) throws java.lang.Exception
- Throws:
java.lang.Exception
-
-