Interface UpdateSerializer

All Superinterfaces:
org.apache.jena.atlas.lib.Closeable
All Known Implementing Classes:
UpdateWriter

public interface UpdateSerializer extends org.apache.jena.atlas.lib.Closeable
Interface for update serializers which may be registered indirectly with the SerializerRegistry via a UpdateSerializerFactory thus allowing the customisation of update serialization.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Must be called prior to passing updates to the serializer
    void
    update(Iterable<? extends Update> updates)
    Serializes a sequence of updates
    void
    update(Iterator<? extends Update> updateIter)
    Serializes a sequence of updates
    void
    update(Update update)
    Serializes the given update

    Methods inherited from interface org.apache.jena.atlas.lib.Closeable

    close
  • Method Details

    • open

      void open()
      Must be called prior to passing updates to the serializer
    • update

      void update(Update update)
      Serializes the given update
      Parameters:
      update - Update
    • update

      void update(Iterable<? extends Update> updates)
      Serializes a sequence of updates
      Parameters:
      updates - Updates
    • update

      void update(Iterator<? extends Update> updateIter)
      Serializes a sequence of updates
      Parameters:
      updateIter - Updates