|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.persistence.jaxb.JAXBMarshalListener
public class JAXBMarshalListener
INTERNAL:
Purpose:Provide a wrapper for a JAXB 2.0 Marshal Listener that implements XMLMarshalListener
Responsibilities:
Marshaller.Listener
,
XMLMarshalListener
Constructor Summary | |
---|---|
JAXBMarshalListener(JAXBContext context,
Marshaller marshaller)
|
Method Summary | |
---|---|
void |
afterMarshal(java.lang.Object obj)
This event will be called after an object is marshalled. |
void |
beforeMarshal(java.lang.Object obj)
This event will be called before an object is marshalled. |
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 |
---|
public JAXBMarshalListener(JAXBContext context, Marshaller marshaller)
Method Detail |
---|
public void setListener(Marshaller.Listener jaxbListener)
public Marshaller.Listener getListener()
public void beforeMarshal(java.lang.Object obj)
XMLMarshalListener
beforeMarshal
in interface XMLMarshalListener
obj
- The object that will be marshalled.public void afterMarshal(java.lang.Object obj)
XMLMarshalListener
afterMarshal
in interface XMLMarshalListener
obj
- The object that was marshalled.public void setClassBasedMarshalEvents(java.util.Map events)
|
EclipseLink 2.4.2, build 'v20130514-5956486' API Reference | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |