Interface Writable.Context

  • Enclosing interface:
    Writable

    public static interface Writable.Context
    Passed to Writable, providing access to additional data specific to a given implementation of the model serialization mechanism.
    Author:
    Gunnar Morling
    • Method Detail

      • get

        <T> T get​(Class<T> type)
        Retrieves the object with the given type from this context.
        Type Parameters:
        T - the type
        Parameters:
        type - The type of the object to retrieve from this context.
        Returns:
        The object with the given type from this context.