org.omnaest.utils.structure.table.serializer.unmarshaller
Class TableUnmarshallerXML<E>
java.lang.Object
org.omnaest.utils.structure.table.serializer.unmarshaller.TableUnmarshallerXML<E>
- Type Parameters:
E -
- All Implemented Interfaces:
- Serializable, TableUnmarshaller<E>
public class TableUnmarshallerXML<E>
- extends Object
- implements TableUnmarshaller<E>
- Author:
- Omnaest
- See Also:
TableMarshallerXML,
TableUnmarshaller,
Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
encoding
protected String encoding
TableUnmarshallerXML
public TableUnmarshallerXML()
TableUnmarshallerXML
public TableUnmarshallerXML(String encoding)
- Parameters:
encoding -
unmarshal
public void unmarshal(Table<E> table,
InputStream inputStream)
- Description copied from interface:
TableUnmarshaller
- Unmarshals the given
Table from an InputStream. The given Table instance is cleared before the
unmarshal process.
- Specified by:
unmarshal in interface TableUnmarshaller<E>
unmarshal
public void unmarshal(Table<E> table,
CharSequence charSequence)
- Description copied from interface:
TableUnmarshaller
- Unmarshalls the given
Table instance from a given CharSequence. This will clean the Table instance
before.
- Specified by:
unmarshal in interface TableUnmarshaller<E>
- See Also:
#unmarshal(Table, CharSequence, String)
writeXMLDataContainerToTableContent
protected void writeXMLDataContainerToTableContent(Table<E> table,
XMLDataContainer<E> xmlDataContainer)
- Clears the
Table and writes the data of a XMLDataContainer to it
- Parameters:
xmlDataContainer -
Copyright © 2011. All Rights Reserved.