Class LegacyBoundElementProcessor

All Implemented Interfaces:
ElementProcessor

public class LegacyBoundElementProcessor extends SourceElementProcessor
Provides an element processor implementation for a node.
  • Constructor Details

    • LegacyBoundElementProcessor

      public LegacyBoundElementProcessor(BaseElementProcessor parentProcessor, org.openstreetmap.osmosis.core.task.v0_6.Sink sink, boolean enableDateParsing)
      Creates a new instance.
      Parameters:
      parentProcessor - The parent of this element processor.
      sink - The sink for receiving processed data.
      enableDateParsing - If true, dates will be parsed from xml data, else the current date will be used thus saving parsing time.
  • Method Details

    • begin

      public void begin(Attributes attributes)
      Initialises the element processor with attributes for a new element to be processed.
      Parameters:
      attributes - The attributes of the new element.
    • end

      public void end()
      Finalises processing for the element processor, this is called when the end of an element is reached.