org.omnaest.utils.structure.table.concrete.internal.serializer
Class TableSerializerImpl<E>

java.lang.Object
  extended by org.omnaest.utils.structure.table.concrete.internal.serializer.TableSerializerImpl<E>
Type Parameters:
E -
All Implemented Interfaces:
Serializable, TableSerializable.TableSerializer<E>, Table.TableComponent

public class TableSerializerImpl<E>
extends Object
implements TableSerializable.TableSerializer<E>

Author:
Omnaest
See Also:
Table, TableSerializable.TableSerializer, TableSerializable, Serialized Form

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.omnaest.utils.structure.table.subspecification.TableSerializable.TableSerializer
TableSerializable.TableSerializer.TableMarshallerExecutor<E>, TableSerializable.TableSerializer.TableUnmarshallerExecutor<E>
 
Field Summary
protected  Table<E> table
           
 
Fields inherited from interface org.omnaest.utils.structure.table.subspecification.TableSerializable.TableSerializer
DEFAULT_ENCODING_UTF8
 
Constructor Summary
TableSerializerImpl(Table<E> table)
           
 
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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

table

protected Table<E> table
Constructor Detail

TableSerializerImpl

public TableSerializerImpl(Table<E> table)
Parameters:
table -
Method Detail

marshal

public TableSerializable.TableSerializer.TableMarshallerExecutor<E> marshal(TableMarshaller<E> tableMarshaller)
Description copied from interface: TableSerializable.TableSerializer
Marshals the underlying Table into a serialized format

Specified by:
marshal in interface TableSerializable.TableSerializer<E>
Returns:
TableSerializable.TableSerializer.TableMarshallerExecutor

unmarshal

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

Specified by:
unmarshal in interface TableSerializable.TableSerializer<E>
Returns:
TableSerializable.TableSerializer.TableUnmarshallerExecutor


Copyright © 2011. All Rights Reserved.