Class SDOCSUnmarshalListener

  • All Implemented Interfaces:
    org.eclipse.persistence.internal.oxm.Unmarshaller.Listener, XMLUnmarshalListener
    Direct Known Subclasses:
    SDOUnmarshalListener

    public class SDOCSUnmarshalListener
    extends java.lang.Object
    implements XMLUnmarshalListener

    Purpose: Implementation of XMLUnmarshalListener used when unmarshalling XML to XMLDocuments

    Responsibilities:

    • When creating a DataObject we need to call setType and setHelperContext with the appropriate values
    • Constructor Summary

      Constructors 
      Constructor Description
      SDOCSUnmarshalListener​(commonj.sdo.helper.HelperContext aContext)  
      SDOCSUnmarshalListener​(commonj.sdo.helper.HelperContext aContext, boolean bIsCSUnmarshalListener)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void afterUnmarshal​(java.lang.Object target, java.lang.Object parent)
      Event that will be called after objects are unmarshalled.
      void beforeUnmarshal​(java.lang.Object target, java.lang.Object parent)
      Event that will be called before objects are unmarshalled.
      • Methods inherited from class java.lang.Object

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

      • SDOCSUnmarshalListener

        public SDOCSUnmarshalListener​(commonj.sdo.helper.HelperContext aContext,
                                      boolean bIsCSUnmarshalListener)
      • SDOCSUnmarshalListener

        public SDOCSUnmarshalListener​(commonj.sdo.helper.HelperContext aContext)
    • Method Detail

      • beforeUnmarshal

        public void beforeUnmarshal​(java.lang.Object target,
                                    java.lang.Object parent)
        Description copied from interface: org.eclipse.persistence.internal.oxm.Unmarshaller.Listener
        Event that will be called before objects are unmarshalled.
        Specified by:
        beforeUnmarshal in interface org.eclipse.persistence.internal.oxm.Unmarshaller.Listener
        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.
      • afterUnmarshal

        public void afterUnmarshal​(java.lang.Object target,
                                   java.lang.Object parent)
        Description copied from interface: org.eclipse.persistence.internal.oxm.Unmarshaller.Listener
        Event that will be called after objects are unmarshalled.
        Specified by:
        afterUnmarshal in interface org.eclipse.persistence.internal.oxm.Unmarshaller.Listener
        Parameters:
        target - the object that was unmarshalled.
        parent - the owning object of the object that was unmarshalled. This may be null.