org.openstreetmap.osmosis.core.xml.v0_5.impl
Class WayNodeElementProcessor

java.lang.Object
  extended by org.openstreetmap.osmosis.core.xml.common.BaseElementProcessor
      extended by org.openstreetmap.osmosis.core.xml.v0_5.impl.WayNodeElementProcessor
All Implemented Interfaces:
ElementProcessor

public class WayNodeElementProcessor
extends BaseElementProcessor

Provides an element processor implementation for a way node.

Author:
Brett Henderson

Constructor Summary
WayNodeElementProcessor(BaseElementProcessor parentProcessor, WayNodeListener wayNodeListener)
          Creates a new instance.
 
Method Summary
 void begin(org.xml.sax.Attributes attributes)
          Initialises the element processor with attributes for a new element to be processed.
 void end()
          Finalises processing for the element processor, this is called when the end of an element is reached.
 
Methods inherited from class org.openstreetmap.osmosis.core.xml.common.BaseElementProcessor
createTimestampContainer, getChild, getParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WayNodeElementProcessor

public WayNodeElementProcessor(BaseElementProcessor parentProcessor,
                               WayNodeListener wayNodeListener)
Creates a new instance.

Parameters:
parentProcessor - The parent element processor.
wayNodeListener - The way node listener for receiving created tags.
Method Detail

begin

public void begin(org.xml.sax.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.