org.omnaest.utils.structure.table.serializer.marshaller
Class TableMarshallerXML<E>
java.lang.Object
org.omnaest.utils.structure.table.serializer.marshaller.TableMarshallerXML<E>
- Type Parameters:
E -
- All Implemented Interfaces:
- Serializable, TableMarshaller<E>
public class TableMarshallerXML<E>
- extends Object
- implements TableMarshaller<E>
- Author:
- Omnaest
- See Also:
TableMarshaller,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encoding
protected String encoding
TableMarshallerXML
public TableMarshallerXML()
TableMarshallerXML
public TableMarshallerXML(String encoding)
- Parameters:
encoding -
marshal
public void marshal(Table<E> table,
OutputStream outputStream)
- Description copied from interface:
TableMarshaller
- Marshals the given
Table into an OutputStream
- Specified by:
marshal in interface TableMarshaller<E>
marshal
public void marshal(Table<E> table,
Appendable appendable)
- Description copied from interface:
TableMarshaller
- Marshals and appends the given
Table to the given Appendable
- Specified by:
marshal in interface TableMarshaller<E>
createXMLDataContainerFromTableContent
protected XMLDataContainer<E> createXMLDataContainerFromTableContent(Table<E> table)
- Creates a
XMLDataContainer from the Table content
- Returns:
marshal
public void marshal(Table<E> table,
InputStream inputStream,
OutputStream outputStream)
- Description copied from interface:
TableMarshaller
- Marshals the given
Table into an OutputStream reading the data from the given InputStream first and
using this for updates.
- Specified by:
marshal in interface TableMarshaller<E>
Copyright © 2011. All Rights Reserved.