Class MarshalRegistry
- java.lang.Object
-
- org.apache.cxf.aegis.type.encoded.MarshalRegistry
-
-
Constructor Summary
Constructors Constructor Description MarshalRegistry()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MarshalRegistryget(Context context)Get the MarshalRegistry stored in the context, and if necessary create a new one.StringgetInstanceId(Object instance)Iterator<Object>iterator()Returns an iterator over the object instances that have not been marshalled yet.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Method Detail
-
get
public static MarshalRegistry get(Context context)
Get the MarshalRegistry stored in the context, and if necessary create a new one.- Parameters:
context- the unmarshal context- Returns:
- the SoapRefRegistry; never null
-
iterator
public Iterator<Object> iterator()
Returns an iterator over the object instances that have not been marshalled yet. As each instance in this iterator is written, it may contain references to additional objects that have not been written. Those references objects will be added to the end of this iterator, so the "list" that is being iterated over grows as the iteration preceeds. When an instance is returned from this iterator it is marked as marshalled.
-
-