Package org.docx4j.jaxb
Interface BinderListenerInterface
public interface BinderListenerInterface
-
Method Summary
Modifier and TypeMethodDescriptionvoidsetListener(jakarta.xml.bind.Binder binder, jakarta.xml.bind.Unmarshaller.Listener listener) Register unmarshal event callbackUnmarshaller.Listenerwith thisUnmarshaller.
-
Method Details
-
setListener
void setListener(jakarta.xml.bind.Binder binder, jakarta.xml.bind.Unmarshaller.Listener listener) throws IllegalAccessException, IllegalArgumentException, InvocationTargetException, NoSuchMethodException, SecurityException, NoSuchFieldException Register unmarshal event callback
Unmarshaller.Listenerwith thisUnmarshaller.There is only one Listener per Unmarshaller. Setting a Listener replaces the previous set Listener. One can unregister current Listener by setting listener to
null.- Parameters:
listener- provides unmarshal event callbacks for thisUnmarshaller- Throws:
InvocationTargetExceptionIllegalArgumentExceptionIllegalAccessExceptionSecurityExceptionNoSuchMethodExceptionNoSuchFieldException- Since:
- 11.4.7
-