Uses of Interface
io.fluxzero.sdk.common.serialization.casting.CasterChain

Packages that use CasterChain
  • Uses of CasterChain in io.fluxzero.sdk.common.serialization.casting

    Modifier and Type
    Class
    Description
    class 
    DefaultCasterChain<T, S extends io.fluxzero.common.api.SerializedObject<T>>
    Default implementation of the CasterChain interface used for managing and applying casting operations— typically upcasting or downcasting—on SerializedObject instances.
    Modifier and Type
    Method
    Description
    protected static <BEFORE,INTERNAL>
    CasterChain<io.fluxzero.common.api.SerializedObject<BEFORE>, io.fluxzero.common.api.SerializedObject<?>>
    DefaultCasterChain.create(Collection<?> casterCandidates, io.fluxzero.common.serialization.Converter<BEFORE,INTERNAL> converter, boolean down)
     
    protected static <BEFORE,INTERNAL>
    CasterChain<io.fluxzero.common.api.SerializedObject<BEFORE>, io.fluxzero.common.api.SerializedObject<?>>
    DefaultCasterChain.create(Collection<?> casterCandidates, io.fluxzero.common.serialization.Converter<BEFORE,INTERNAL> converter, boolean down, UnaryOperator<String> inputTypeResolver)
     
    protected static <T, S extends io.fluxzero.common.api.SerializedObject<T>>
    CasterChain<S,S>
    DefaultCasterChain.create(Collection<?> casterCandidates, Class<T> dataType, boolean down)
     
    static <T, S extends io.fluxzero.common.api.SerializedObject<T>>
    CasterChain<S,S>
    DefaultCasterChain.createDowncaster(Collection<?> casterCandidates, Class<T> dataType)
     
    static <BEFORE,INTERNAL>
    CasterChain<io.fluxzero.common.api.SerializedObject<BEFORE>, io.fluxzero.common.api.SerializedObject<?>>
    DefaultCasterChain.createUpcaster(Collection<?> casterCandidates, io.fluxzero.common.serialization.Converter<BEFORE,INTERNAL> converter)
     
    static <BEFORE,INTERNAL>
    CasterChain<io.fluxzero.common.api.SerializedObject<BEFORE>, io.fluxzero.common.api.SerializedObject<?>>
    DefaultCasterChain.createUpcaster(Collection<?> casterCandidates, io.fluxzero.common.serialization.Converter<BEFORE,INTERNAL> converter, UnaryOperator<String> inputTypeResolver)
    Creates an upcaster chain that normalizes serialized type identifiers before selecting a content upcaster.
    static <T, S extends io.fluxzero.common.api.SerializedObject<T>>
    CasterChain<S,S>
    DefaultCasterChain.createUpcaster(Collection<?> casterCandidates, Class<T> dataType)
     
    default <BEFORE,AFTER>
    CasterChain<BEFORE,AFTER>
    CasterChain.intercept(Function<BEFORE, ? extends I> before, Function<? super O, AFTER> after)
    Composes this caster chain with input and output interceptors.