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

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

public class TagElementProcessor
extends BaseElementProcessor

Provides an element processor implementation for a tag.

Author:
Brett Henderson

Constructor Summary
TagElementProcessor(BaseElementProcessor parentProcessor, TagListener tagListener)
          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

TagElementProcessor

public TagElementProcessor(BaseElementProcessor parentProcessor,
                           TagListener tagListener)
Creates a new instance.

Parameters:
parentProcessor - The parent element processor.
tagListener - The tag 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.