/** * Invokes the beforeUnmarshal method if applicable. */ public final void invokeBeforeUnmarshalMethod(UnmarshallerImpl unm, Object child, Object parent) throws SAXException { Method m = getLifecycleMethods().beforeUnmarshal; invokeUnmarshallCallback(m, child, unm, parent); }
/** * Invokes the afterUnmarshal method if applicable. */ public final void invokeAfterUnmarshalMethod(UnmarshallerImpl unm, Object child, Object parent) throws SAXException { Method m = getLifecycleMethods().afterUnmarshal; invokeUnmarshallCallback(m, child, unm, parent); }
/** * Invoke the afterMarshal api on the external listener (if it exists) and on the bean embedded * afterMarshal api(if it exists). * * This method is called only after the callee has determined that beanInfo.lookForLifecycleMethods == true. * * @param beanInfo * @param currentTarget */ private void fireAfterMarshalEvents(final JaxBeanInfo beanInfo, Object currentTarget) { // first invoke bean embedded listener if (beanInfo.hasAfterMarshalMethod()) { Method m = beanInfo.getLifecycleMethods().afterMarshal; fireMarshalEvent(currentTarget, m); } // then invoke external listener before bean embedded listener Marshaller.Listener externalListener = marshaller.getListener(); if (externalListener != null) { externalListener.afterMarshal(currentTarget); } }
/** * Invoke the beforeMarshal api on the external listener (if it exists) and on the bean embedded * beforeMarshal api(if it exists). * * This method is called only after the callee has determined that beanInfo.lookForLifecycleMethods == true. * * @param beanInfo * @param currentTarget */ private void fireBeforeMarshalEvents(final JaxBeanInfo beanInfo, Object currentTarget) { // first invoke bean embedded listener if (beanInfo.hasBeforeMarshalMethod()) { Method m = beanInfo.getLifecycleMethods().beforeMarshal; fireMarshalEvent(currentTarget, m); } // then invoke external listener Marshaller.Listener externalListener = marshaller.getListener(); if (externalListener != null) { externalListener.beforeMarshal(currentTarget); } }
/** * Invokes the afterUnmarshal method if applicable. */ public final void invokeAfterUnmarshalMethod(UnmarshallerImpl unm, Object child, Object parent) throws SAXException { Method m = getLifecycleMethods().afterUnmarshal; invokeUnmarshallCallback(m, child, unm, parent); }
/** * Invokes the beforeUnmarshal method if applicable. */ public final void invokeBeforeUnmarshalMethod(UnmarshallerImpl unm, Object child, Object parent) throws SAXException { Method m = getLifecycleMethods().beforeUnmarshal; invokeUnmarshallCallback(m, child, unm, parent); }
/** * Invoke the afterMarshal api on the external listener (if it exists) and on the bean embedded * afterMarshal api(if it exists). * * This method is called only after the callee has determined that beanInfo.lookForLifecycleMethods == true. * * @param beanInfo * @param currentTarget */ private void fireAfterMarshalEvents(final JaxBeanInfo beanInfo, Object currentTarget) { // first invoke bean embedded listener if (beanInfo.hasAfterMarshalMethod()) { Method m = beanInfo.getLifecycleMethods().afterMarshal; fireMarshalEvent(currentTarget, m); } // then invoke external listener before bean embedded listener Marshaller.Listener externalListener = marshaller.getListener(); if (externalListener != null) { externalListener.afterMarshal(currentTarget); } }
/** * Invoke the beforeMarshal api on the external listener (if it exists) and on the bean embedded * beforeMarshal api(if it exists). * * This method is called only after the callee has determined that beanInfo.lookForLifecycleMethods == true. * * @param beanInfo * @param currentTarget */ private void fireBeforeMarshalEvents(final JaxBeanInfo beanInfo, Object currentTarget) { // first invoke bean embedded listener if (beanInfo.hasBeforeMarshalMethod()) { Method m = beanInfo.getLifecycleMethods().beforeMarshal; fireMarshalEvent(currentTarget, m); } // then invoke external listener Marshaller.Listener externalListener = marshaller.getListener(); if (externalListener != null) { externalListener.beforeMarshal(currentTarget); } }
/** * Invokes the beforeUnmarshal method if applicable. */ public final void invokeBeforeUnmarshalMethod(UnmarshallerImpl unm, Object child, Object parent) throws SAXException { Method m = getLifecycleMethods().beforeUnmarshal; invokeUnmarshallCallback(m, child, unm, parent); }
/** * Invokes the beforeUnmarshal method if applicable. */ public final void invokeBeforeUnmarshalMethod(UnmarshallerImpl unm, Object child, Object parent) throws SAXException { Method m = getLifecycleMethods().beforeUnmarshal; invokeUnmarshallCallback(m, child, unm, parent); }
/** * Invokes the afterUnmarshal method if applicable. */ public final void invokeAfterUnmarshalMethod(UnmarshallerImpl unm, Object child, Object parent) throws SAXException { Method m = getLifecycleMethods().afterUnmarshal; invokeUnmarshallCallback(m, child, unm, parent); }
/** * Invokes the afterUnmarshal method if applicable. */ public final void invokeAfterUnmarshalMethod(UnmarshallerImpl unm, Object child, Object parent) throws SAXException { Method m = getLifecycleMethods().afterUnmarshal; invokeUnmarshallCallback(m, child, unm, parent); }
/** * Invoke the afterMarshal api on the external listener (if it exists) and on the bean embedded * afterMarshal api(if it exists). * * This method is called only after the callee has determined that beanInfo.lookForLifecycleMethods == true. * * @param beanInfo * @param currentTarget */ private void fireAfterMarshalEvents(final JaxBeanInfo beanInfo, Object currentTarget) { // first invoke bean embedded listener if (beanInfo.hasAfterMarshalMethod()) { Method m = beanInfo.getLifecycleMethods().afterMarshal; fireMarshalEvent(currentTarget, m); } // then invoke external listener before bean embedded listener Marshaller.Listener externalListener = marshaller.getListener(); if (externalListener != null) { externalListener.afterMarshal(currentTarget); } }
/** * Invoke the beforeMarshal api on the external listener (if it exists) and on the bean embedded * beforeMarshal api(if it exists). * * This method is called only after the callee has determined that beanInfo.lookForLifecycleMethods == true. * * @param beanInfo * @param currentTarget */ private void fireBeforeMarshalEvents(final JaxBeanInfo beanInfo, Object currentTarget) { // first invoke bean embedded listener if (beanInfo.hasBeforeMarshalMethod()) { Method m = beanInfo.getLifecycleMethods().beforeMarshal; fireMarshalEvent(currentTarget, m); } // then invoke external listener Marshaller.Listener externalListener = marshaller.getListener(); if (externalListener != null) { externalListener.beforeMarshal(currentTarget); } }
/** * Invoke the beforeMarshal api on the external listener (if it exists) and on the bean embedded * beforeMarshal api(if it exists). * * This method is called only after the callee has determined that beanInfo.lookForLifecycleMethods == true. * * @param beanInfo * @param currentTarget */ private void fireBeforeMarshalEvents(final JaxBeanInfo beanInfo, Object currentTarget) { // first invoke bean embedded listener if (beanInfo.hasBeforeMarshalMethod()) { Method m = beanInfo.getLifecycleMethods().beforeMarshal; fireMarshalEvent(currentTarget, m); } // then invoke external listener Marshaller.Listener externalListener = marshaller.getListener(); if (externalListener != null) { externalListener.beforeMarshal(currentTarget); } }
/** * Invoke the afterMarshal api on the external listener (if it exists) and on the bean embedded * afterMarshal api(if it exists). * * This method is called only after the callee has determined that beanInfo.lookForLifecycleMethods == true. * * @param beanInfo * @param currentTarget */ private void fireAfterMarshalEvents(final JaxBeanInfo beanInfo, Object currentTarget) { // first invoke bean embedded listener if (beanInfo.hasAfterMarshalMethod()) { Method m = beanInfo.getLifecycleMethods().afterMarshal; fireMarshalEvent(currentTarget, m); } // then invoke external listener before bean embedded listener Marshaller.Listener externalListener = marshaller.getListener(); if (externalListener != null) { externalListener.afterMarshal(currentTarget); } }