Class CollectionDeserializer.CollectionReferringAccumulator

  • Enclosing class:
    CollectionDeserializer

    public static class CollectionDeserializer.CollectionReferringAccumulator
    extends java.lang.Object
    Helper class for dealing with Object Id references for values contained in collections being deserialized.
    • Constructor Detail

      • CollectionReferringAccumulator

        public CollectionReferringAccumulator​(java.lang.Class<?> elementType,
                                              java.util.Collection<java.lang.Object> result)
    • Method Detail

      • add

        public void add​(java.lang.Object value)
      • resolveForwardReference

        public void resolveForwardReference​(java.lang.Object id,
                                            java.lang.Object value)
                                     throws java.io.IOException
        Throws:
        java.io.IOException