org.springframework.batch.item.xml.oxm
Class MarshallingEventWriterSerializer

java.lang.Object
  extended by org.springframework.batch.item.xml.oxm.MarshallingEventWriterSerializer
All Implemented Interfaces:
EventWriterSerializer

public class MarshallingEventWriterSerializer
extends Object
implements EventWriterSerializer

Object to xml serializer that wraps a Spring OXM Marshaller object.

Author:
Lucas Ward

Constructor Summary
MarshallingEventWriterSerializer(Marshaller marshaller)
           
 
Method Summary
 void serializeObject(javax.xml.stream.XMLEventWriter writer, Object output)
          Serialize an Object.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MarshallingEventWriterSerializer

public MarshallingEventWriterSerializer(Marshaller marshaller)
Method Detail

serializeObject

public void serializeObject(javax.xml.stream.XMLEventWriter writer,
                            Object output)
Description copied from interface: EventWriterSerializer
Serialize an Object.

Specified by:
serializeObject in interface EventWriterSerializer


Copyright © 2009 SpringSource. All Rights Reserved.