Class UnmarshalListenerDelegate

    • Method Summary

      All Methods Instance Methods Concrete Methods Deprecated Methods 
      Modifier and Type Method Description
      void attributesProcessed​(java.lang.Object stateObject, java.lang.Object parentObject)
      This method is called once the attributes have been processed.
      void fieldAdded​(java.lang.String fieldName, java.lang.Object stateObject, java.lang.Object fieldStateObject)
      This method is called after a child object has been added during the unmarshalling.
      void initialized​(java.lang.Object stateObject, java.lang.Object parentObject)
      This method is called when an object has just been initialized by the Unmarshaller.
      void setUnmarshalListener​(UnmarshalListener listener)
      void setUnmarshalListener​(UnmarshalListener listener)
      Deprecated.
      please move to the new UnmarshalListener interface
      void unmarshalled​(java.lang.Object object, java.lang.Object parentObject)
      This method is called after an object has been completely unmarshalled, including all of its children (if any).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • UnmarshalListenerDelegate

        public UnmarshalListenerDelegate()
    • Method Detail

      • unmarshalled

        public void unmarshalled​(java.lang.Object object,
                                 java.lang.Object parentObject)
        Description copied from interface: UnmarshalListener
        This method is called after an object has been completely unmarshalled, including all of its children (if any).
        Specified by:
        unmarshalled in interface UnmarshalListener
        Parameters:
        object -
        parentObject -
        See Also:
        org.castor.xml.UnmarshalListener.unmarshalled
      • fieldAdded

        public void fieldAdded​(java.lang.String fieldName,
                               java.lang.Object stateObject,
                               java.lang.Object fieldStateObject)
        Description copied from interface: UnmarshalListener
        This method is called after a child object has been added during the unmarshalling. This method will be called after #unmarshalled(Object) has been called for the child.
        Specified by:
        fieldAdded in interface UnmarshalListener
        Parameters:
        object -
        parentObject -
        See Also:
        org.castor.xml.UnmarshalListener.fieldAdded
      • initialized

        public void initialized​(java.lang.Object stateObject,
                                java.lang.Object parentObject)
        Description copied from interface: UnmarshalListener
        This method is called when an object has just been initialized by the Unmarshaller.
        Specified by:
        initialized in interface UnmarshalListener
        Parameters:
        object -
        parentObject -
        See Also:
        org.castor.xml.UnmarshalListener.initialized
      • attributesProcessed

        public void attributesProcessed​(java.lang.Object stateObject,
                                        java.lang.Object parentObject)
        Description copied from interface: UnmarshalListener
        This method is called once the attributes have been processed. It indicates that the the fields of the given object corresponding to attributes in the XML document have been set.
        Specified by:
        attributesProcessed in interface UnmarshalListener
        Parameters:
        object -
        parentObject -
        See Also:
        org.castor.xml.UnmarshalListener.attributesProcessed