org.apache.axis2.databinding
Class MultiTarget
java.lang.Object
org.apache.axis2.databinding.MultiTarget
- All Implemented Interfaces:
- DeserializationTarget
- public class MultiTarget
- extends Object
- implements DeserializationTarget
A MultiTarget aggregates a bunch of targets into a single one.
This is used, for instance, when multiple targets are waiting for a single SOAP
multiref deserialization.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MultiTarget
public MultiTarget()
addTarget
public void addTarget(DeserializationTarget target)
- Adds a target to the list of targets which will be updated when
we receive a value.
- Parameters:
target
-
setValue
public void setValue(Object value)
throws Exception
- Specified by:
setValue
in interface DeserializationTarget
- Throws:
Exception