public class JAXBMarshalListener extends 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,
jakarta.xml.bind.Marshaller marshaller) |
| Modifier and Type | Method and Description |
|---|---|
void |
afterMarshal(Object obj) |
void |
beforeMarshal(Object obj) |
jakarta.xml.bind.Marshaller.Listener |
getListener() |
void |
setClassBasedMarshalEvents(Map events) |
void |
setListener(jakarta.xml.bind.Marshaller.Listener jaxbListener) |
public JAXBMarshalListener(JAXBContext context, jakarta.xml.bind.Marshaller marshaller)
public void setListener(jakarta.xml.bind.Marshaller.Listener jaxbListener)
public jakarta.xml.bind.Marshaller.Listener getListener()
public void beforeMarshal(Object obj)
beforeMarshal in interface Marshaller.Listenerpublic void afterMarshal(Object obj)
afterMarshal in interface Marshaller.Listenerpublic void setClassBasedMarshalEvents(Map events)
Copyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.