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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void open()
      Must be called prior to passing updates to the serializer
      void update​(java.lang.Iterable<? extends Update> updates)
      Serializes a sequence of updates
      void update​(java.util.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 Detail

      • 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​(java.lang.Iterable<? extends Update> updates)
        Serializes a sequence of updates
        Parameters:
        updates - Updates
      • update

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