EclipseLink 2.2.0, build 'v20110202-r8913' API Reference

org.eclipse.persistence.jaxb
Class JAXBMarshalListener

java.lang.Object
  extended by org.eclipse.persistence.jaxb.JAXBMarshalListener
All Implemented Interfaces:
XMLMarshalListener

public class JAXBMarshalListener
extends java.lang.Object
implements XMLMarshalListener

INTERNAL:

Purpose:Provide a wrapper for a JAXB 2.0 Marshal Listener that implements XMLMarshalListener

Responsibilities:

See Also:
Marshaller.Listener, XMLMarshalListener

Constructor Summary
JAXBMarshalListener(Marshaller marshaller)
           
 
Method Summary
 void afterMarshal(java.lang.Object obj)
           
 void beforeMarshal(java.lang.Object obj)
           
 Marshaller.Listener getListener()
           
 void setClassBasedMarshalEvents(java.util.Map events)
           
 void setListener(Marshaller.Listener jaxbListener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JAXBMarshalListener

public JAXBMarshalListener(Marshaller marshaller)
Method Detail

setListener

public void setListener(Marshaller.Listener jaxbListener)

getListener

public Marshaller.Listener getListener()

beforeMarshal

public void beforeMarshal(java.lang.Object obj)
Specified by:
beforeMarshal in interface XMLMarshalListener

afterMarshal

public void afterMarshal(java.lang.Object obj)
Specified by:
afterMarshal in interface XMLMarshalListener

setClassBasedMarshalEvents

public void setClassBasedMarshalEvents(java.util.Map events)

EclipseLink 2.2.0, build 'v20110202-r8913' API Reference