Interface BinarySerializer.PrimGroupWriterInterface

  • Enclosing class:
    BinarySerializer


    public static interface BinarySerializer.PrimGroupWriterInterface
    Interface used to write a group of primitives. One of these for each group type (Node, Way, Relation, DenseNode, Changeset)
    • Method Summary

      Modifier and Type Method and Description
      void addStringsToStringtable(StringTable stable)
      This callback is invoked on each group that is going into the fileblock in order to give it a chance to add to the stringtable pool of strings.
      Osmformat.PrimitiveGroup serialize(BinarySerializer serializer)
      This callback is invoked to request that the primgroup serialize itself into the given protocol buffer object.
    • Method Detail

      • addStringsToStringtable

        void addStringsToStringtable(StringTable stable)
        This callback is invoked on each group that is going into the fileblock in order to give it a chance to add to the stringtable pool of strings.