public static interface Marshaller.Listener
An implementation of Marshaller.Listener can be set on an Marshaller to provide additional behaviour during marshal operations.
Modifier and Type | Method and Description |
---|---|
void |
afterMarshal(java.lang.Object target)
This event will be called after an object is marshalled.
|
void |
beforeMarshal(java.lang.Object target)
This event will be called before an object is marshalled.
|
void afterMarshal(java.lang.Object target)
target
- The object that was marshalled.void beforeMarshal(java.lang.Object target)
target
- The object that will be marshalled.EclipseLink 2.6.3, "build v20160428-59c81c5" API Reference