|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.exolab.castor.xml.parsing.UnmarshalListenerDelegate
public class UnmarshalListenerDelegate
This class handles delegates methods call to UnmarshalListener. Even if
UnmarshalListener is null, all of the delegating methods can be invoke.
| Constructor Summary | |
|---|---|
UnmarshalListenerDelegate()
|
|
| Method Summary | |
|---|---|
void |
attributesProcessed(Object stateObject,
Object parentObject)
This method is called once the attributes have been processed. |
void |
fieldAdded(String fieldName,
Object stateObject,
Object fieldStateObject)
This method is called after a child object has been added during the unmarshalling. |
void |
initialized(Object stateObject,
Object parentObject)
This method is called when an object has just been initialized by the Unmarshaller. |
void |
setUnmarshalListener(UnmarshalListener listener)
Sets an UnmarshalListener. |
void |
setUnmarshalListener(UnmarshalListener listener)
Deprecated. please move to the new UnmarshalListener interface |
void |
unmarshalled(Object object,
Object parentObject)
This method is called after an object has been completely unmarshalled, including all of its children (if any). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public UnmarshalListenerDelegate()
| Method Detail |
|---|
public void setUnmarshalListener(UnmarshalListener listener)
UnmarshalListener.
listener - the UnmarshalListener to use with this
instance of the UnmarshalHandler.public void setUnmarshalListener(UnmarshalListener listener)
UnmarshalListener interface
UnmarshalListener.
listener - the UnmarshalListener to use
with this instance of the UnmarshalHandler.
public void unmarshalled(Object object,
Object parentObject)
UnmarshalListener
unmarshalled in interface UnmarshalListenerobject - parentObject - org.castor.xml.UnmarshalListener.unmarshalled
public void fieldAdded(String fieldName,
Object stateObject,
Object fieldStateObject)
UnmarshalListener#unmarshalled(Object) has
been called for the child.
fieldAdded in interface UnmarshalListenerobject - parentObject - org.castor.xml.UnmarshalListener.fieldAdded
public void initialized(Object stateObject,
Object parentObject)
UnmarshalListener
initialized in interface UnmarshalListenerobject - parentObject - org.castor.xml.UnmarshalListener.initialized
public void attributesProcessed(Object stateObject,
Object parentObject)
UnmarshalListener
attributesProcessed in interface UnmarshalListenerobject - parentObject - org.castor.xml.UnmarshalListener.attributesProcessed
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||