public class SDOUnmarshalListener extends SDOCSUnmarshalListener
Purpose: Implementation of XMLUnmarshalListener used when unmarshalling XML to XMLDocuments
Responsibilities:
Constructor and Description |
---|
SDOUnmarshalListener(commonj.sdo.helper.HelperContext aContext) |
Modifier and Type | Method and 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.
|
public SDOUnmarshalListener(commonj.sdo.helper.HelperContext aContext)
public void beforeUnmarshal(Object target, Object parent)
XMLUnmarshalListener
beforeUnmarshal
in interface XMLUnmarshalListener
beforeUnmarshal
in class SDOCSUnmarshalListener
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.public void afterUnmarshal(Object target, Object parent)
XMLUnmarshalListener
afterUnmarshal
in interface XMLUnmarshalListener
afterUnmarshal
in class SDOCSUnmarshalListener
target
- assumed to be non-nullparent
- may be null, indicating target is root object