- java.lang.Object
-
- org.eclipse.persistence.sdo.helper.SDOCSUnmarshalListener
-
- All Implemented Interfaces:
org.eclipse.persistence.internal.oxm.Unmarshaller.Listener
,XMLUnmarshalListener
- Direct Known Subclasses:
SDOUnmarshalListener
public class SDOCSUnmarshalListener extends 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
-
-
Field Summary
Fields Modifier and Type Field Description protected HelperContext
aHelperContext
Visibility reduced from [public] in 2.1.0.
-
Constructor Summary
Constructors Constructor Description SDOCSUnmarshalListener(HelperContext aContext)
SDOCSUnmarshalListener(HelperContext aContext, boolean bIsCSUnmarshalListener)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterUnmarshal(Object target, Object parent)
Event that will be called after objects are unmarshalled.void
beforeUnmarshal(Object target, Object parent)
Event that will be called before objects are unmarshalled.
-
-
-
Field Detail
-
aHelperContext
protected HelperContext aHelperContext
Visibility reduced from [public] in 2.1.0. May 15 2007
-
-
Constructor Detail
-
SDOCSUnmarshalListener
public SDOCSUnmarshalListener(HelperContext aContext, boolean bIsCSUnmarshalListener)
-
SDOCSUnmarshalListener
public SDOCSUnmarshalListener(HelperContext aContext)
-
-
Method Detail
-
beforeUnmarshal
public void beforeUnmarshal(Object target, 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 interfaceorg.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(Object target, 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 interfaceorg.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.
-
-