Interface Unmarshaller.Listener
-
- All Known Subinterfaces:
XMLUnmarshalListener
- Enclosing class:
- Unmarshaller<ABSTRACT_SESSION extends CoreAbstractSession,CONTEXT extends Context,DESCRIPTOR extends Descriptor,ID_RESOLVER extends IDResolver,MEDIA_TYPE extends MediaType,ROOT extends Root,UNMARSHALLER_HANDLER extends UnmarshallerHandler,UNMARSHALLER_LISTENER extends Unmarshaller.Listener>
public static interface Unmarshaller.ListenerAn implementation of UnmarshalListener can be set on an Unmarshaller to provide additional behaviour during unmarshal operations.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidafterUnmarshal(java.lang.Object target, java.lang.Object parent)Event that will be called after objects are unmarshalled.voidbeforeUnmarshal(java.lang.Object target, java.lang.Object parent)Event that will be called before objects are unmarshalled.
-
-
-
Method Detail
-
afterUnmarshal
void afterUnmarshal(java.lang.Object target, java.lang.Object parent)Event that will be called after objects are unmarshalled.- Parameters:
target- the object that was unmarshalled.parent- the owning object of the object that was unmarshalled. This may be null.
-
beforeUnmarshal
void beforeUnmarshal(java.lang.Object target, java.lang.Object parent)Event that will be called before objects are unmarshalled.- Parameters:
target- A newly created instance of the object to be unmarshalled.parent- the owning object of the object that will be unmarshalled. This may be null.
-
-