UnmarshalListener
public final class MappingUnmarshallListener extends java.lang.Object implements UnmarshalListener
Constructor | Description |
---|---|
MappingUnmarshallListener(MappingUnmarshaller unmarshaller,
Mapping mapping,
DTDResolver resolver) |
Modifier and Type | Method | Description |
---|---|---|
void |
attributesProcessed(java.lang.Object target,
java.lang.Object parent) |
Not used for includes processing.
|
void |
fieldAdded(java.lang.String fieldName,
java.lang.Object parent,
java.lang.Object child) |
Not used for includes processing.
|
void |
initialized(java.lang.Object target,
java.lang.Object parent) |
Not used for includes processing.
|
void |
unmarshalled(java.lang.Object target,
java.lang.Object parent) |
This method is called after an object has been completely unmarshalled, including
all of its children (if any).
|
public MappingUnmarshallListener(MappingUnmarshaller unmarshaller, Mapping mapping, DTDResolver resolver)
public void initialized(java.lang.Object target, java.lang.Object parent)
initialized
in interface UnmarshalListener
target
- the Object that was initialized.parent
- the parent of the target that was initializedorg.castor.xml.UnmarshalListener#initialized(java.lang.Object){@inheritDoc}
public void attributesProcessed(java.lang.Object target, java.lang.Object parent)
attributesProcessed
in interface UnmarshalListener
target
- the Object the object being unmarshalled.parent
- the parent of the target being unmarshalledorg.castor.xml.UnmarshalListener#attributesProcessed(java.lang.Object){@inheritDoc}
public void fieldAdded(java.lang.String fieldName, java.lang.Object parent, java.lang.Object child)
fieldAdded
in interface UnmarshalListener
fieldName
- The Name of the field the child is being added to.parent
- The Object being unmarshalled.child
- The Object that was just added.UnmarshalListener.fieldAdded(java.lang.String,
java.lang.Object, java.lang.Object)
public void unmarshalled(java.lang.Object target, java.lang.Object parent)
unmarshalled
in interface UnmarshalListener
object
- the Object that was unmarshalled.org.castor.xml.UnmarshalListener#unmarshalled(java.lang.Object){@inheritDoc}
Intalio Inc. (C) 1999-2008. All rights reserved http://www.intalio.com