RESOLVED - BATCH-821: remove EventSerializer/Deserializer abstractions and use Marshaller/Unmarshaller directly

cleanup of now redundant classes
This commit is contained in:
robokaso
2008-09-05 10:41:31 +00:00
parent 7f2adceb19
commit f22b617313
2 changed files with 0 additions and 35 deletions

View File

@@ -1,14 +0,0 @@
package org.springframework.batch.item.xml;
import javax.xml.stream.XMLEventReader;
/**
* Deserializes XML fragment to domain object.
* XML fragment is a standalone XML document corresponding to a single record.
*
* @author Robert Kasanicky
*/
public interface EventReaderDeserializer<T> {
T deserializeFragment(XMLEventReader eventReader);
}

View File

@@ -1,21 +0,0 @@
package org.springframework.batch.item.xml;
import javax.xml.stream.XMLEventWriter;
/**
* Interface wrapping the serialization of an object
* to xml. Primarily useful for abstracting how an object
* is serialized to an XMLEvent from a specific marshaller.
*
* @author Lucas Ward
*
*/
public interface EventWriterSerializer<T> {
/**
* Serialize an Object.
*
* @param output
*/
void serializeObject(XMLEventWriter writer, T output);
}