Class CollectionPendingReference

java.lang.Object
cz.cvut.kbss.jsonld.deserialization.reference.CollectionPendingReference
All Implemented Interfaces:
PendingReference

public class CollectionPendingReference extends Object implements PendingReference
Represents a collection-based pending reference.

That is, a collection containing a reference to an object.

  • Constructor Details

    • CollectionPendingReference

      public CollectionPendingReference(Collection targetCollection)
  • Method Details

    • apply

      public void apply(Object referencedObject)
      Description copied from interface: PendingReference
      Applies the specified referenced object to this pending reference, resolving it.

      Resolving the reference basically means inserting the referenced object into the place represented by this instance (e.g., field value, collection).

      Specified by:
      apply in interface PendingReference
      Parameters:
      referencedObject - The object referenced by this pending reference