public class JAXBMarshalListener extends java.lang.Object implements XMLMarshalListener
Purpose:Provide a wrapper for a JAXB 2.0 Marshal Listener that implements XMLMarshalListener
Responsibilities:
Marshaller.Listener
,
XMLMarshalListener
Constructor and Description |
---|
JAXBMarshalListener(JAXBContext context,
Marshaller marshaller) |
Modifier and Type | Method and Description |
---|---|
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) |
public JAXBMarshalListener(JAXBContext context, Marshaller marshaller)
public void setListener(Marshaller.Listener jaxbListener)
public Marshaller.Listener getListener()
public void beforeMarshal(java.lang.Object obj)
beforeMarshal
in interface org.eclipse.persistence.internal.oxm.Marshaller.Listener
public void afterMarshal(java.lang.Object obj)
afterMarshal
in interface org.eclipse.persistence.internal.oxm.Marshaller.Listener
public void setClassBasedMarshalEvents(java.util.Map events)