Class BoundWriter

java.lang.Object
org.openstreetmap.osmosis.xml.common.ElementWriter
org.openstreetmap.osmosis.xml.v0_6.impl.BoundWriter

public class BoundWriter extends ElementWriter
  • Constructor Details

    • BoundWriter

      public BoundWriter(String elementName, int indentLevel, boolean legacyBound)
      Creates a new instance.
      Parameters:
      elementName - The name of the element to be written.
      indentLevel - The indent level of the element.
      legacyBound - If true, write the legacy <bound> element instead of the correct <bounds> one.
  • Method Details

    • process

      public void process(org.openstreetmap.osmosis.core.domain.v0_6.Bound bound)
      Writes the bound.
      Parameters:
      bound - The bound to be processed.