org.apache.axis2.databinding
Class MultiTarget

java.lang.Object
  extended byorg.apache.axis2.databinding.MultiTarget
All Implemented Interfaces:
DeserializationTarget

public class MultiTarget
extends java.lang.Object
implements DeserializationTarget

A MultiTarget aggregates a bunch of targets into a single one. This is used when multiple targets are waiting for a single SOAP multiref deserialization, for instance.


Constructor Summary
MultiTarget()
           
 
Method Summary
 void addTarget(DeserializationTarget target)
          Add a target to the list of targets which will be updated when we receive a value.
 void setValue(java.lang.Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MultiTarget

public MultiTarget()
Method Detail

addTarget

public void addTarget(DeserializationTarget target)
Add a target to the list of targets which will be updated when we receive a value.

Parameters:
target -

setValue

public void setValue(java.lang.Object value)
              throws java.lang.Exception
Specified by:
setValue in interface DeserializationTarget
Throws:
java.lang.Exception