org.omnaest.utils.structure.table.subspecification
Interface TableSerializable.TableSerializer<E>

Type Parameters:
E -
All Superinterfaces:
Serializable, Table.TableComponent
All Known Implementing Classes:
TableSerializerImpl
Enclosing interface:
TableSerializable<E>

public static interface TableSerializable.TableSerializer<E>
extends Table.TableComponent

A TableSerializable.TableSerializer offers methods to marshal(TableMarshaller) and unmarshal(TableUnmarshaller) an underlying Table instance into serializable format.

Author:
Omnaest
See Also:
TableSerializable, TableMarshaller, TableUnmarshaller

Nested Class Summary
static interface TableSerializable.TableSerializer.TableMarshallerExecutor<E>
           
static interface TableSerializable.TableSerializer.TableUnmarshallerExecutor<E>
           
 
Field Summary
static String DEFAULT_ENCODING_UTF8
           
 
Method Summary
 TableSerializable.TableSerializer.TableMarshallerExecutor<E> marshal(TableMarshaller<E> tableMarshaller)
          Marshals the underlying Table into a serialized format
 TableSerializable.TableSerializer.TableUnmarshallerExecutor<E> unmarshal(TableUnmarshaller<E> tableUnmarshaller)
          Clears the current Table content and fills it with unmarshalled content from a serialized format
 

Field Detail

DEFAULT_ENCODING_UTF8

static final String DEFAULT_ENCODING_UTF8
See Also:
Constant Field Values
Method Detail

marshal

TableSerializable.TableSerializer.TableMarshallerExecutor<E> marshal(TableMarshaller<E> tableMarshaller)
Marshals the underlying Table into a serialized format

Parameters:
tableMarshaller -
Returns:
TableSerializable.TableSerializer.TableMarshallerExecutor

unmarshal

TableSerializable.TableSerializer.TableUnmarshallerExecutor<E> unmarshal(TableUnmarshaller<E> tableUnmarshaller)
Clears the current Table content and fills it with unmarshalled content from a serialized format

Parameters:
tableUnmarshaller -
Returns:
TableSerializable.TableSerializer.TableUnmarshallerExecutor


Copyright © 2011. All Rights Reserved.