Module org.eclipse.persistence.sdo
Class SDOUnmarshalListener
- java.lang.Object
-
- org.eclipse.persistence.sdo.helper.SDOCSUnmarshalListener
-
- org.eclipse.persistence.sdo.helper.SDOUnmarshalListener
-
- All Implemented Interfaces:
org.eclipse.persistence.internal.oxm.Unmarshaller.Listener,org.eclipse.persistence.oxm.XMLUnmarshalListener
public class SDOUnmarshalListener extends SDOCSUnmarshalListener
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
- When we are finished Unmarshalling the root object we need to set up the ChangeSummary objects. ChangeSummaries have xpaths to other parts of the documents so the rest of the objects need to be built before we process the ChangeSummaries
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.sdo.helper.SDOCSUnmarshalListener
aHelperContext
-
-
Constructor Summary
Constructors Constructor Description SDOUnmarshalListener(HelperContext aContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterUnmarshal(Object target, Object parent)voidbeforeUnmarshal(Object target, Object parent)
-
-
-
Constructor Detail
-
SDOUnmarshalListener
public SDOUnmarshalListener(HelperContext aContext)
-
-
Method Detail
-
beforeUnmarshal
public void beforeUnmarshal(Object target, Object parent)
- Specified by:
beforeUnmarshalin interfaceorg.eclipse.persistence.internal.oxm.Unmarshaller.Listener- Overrides:
beforeUnmarshalin classSDOCSUnmarshalListener
-
afterUnmarshal
public void afterUnmarshal(Object target, Object parent)
- Specified by:
afterUnmarshalin interfaceorg.eclipse.persistence.internal.oxm.Unmarshaller.Listener- Overrides:
afterUnmarshalin classSDOCSUnmarshalListener- Parameters:
target- assumed to be non-nullparent- may be null, indicating target is root object
-
-