|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.xml.common.BaseElementProcessor
org.openstreetmap.osmosis.core.xml.v0_5.impl.SourceElementProcessor
org.openstreetmap.osmosis.core.xml.v0_5.impl.EntityElementProcessor
org.openstreetmap.osmosis.core.xml.v0_5.impl.NodeElementProcessor
public class NodeElementProcessor
Provides an element processor implementation for a node.
Constructor Summary | |
---|---|
NodeElementProcessor(BaseElementProcessor parentProcessor,
Sink sink,
boolean enableDateParsing)
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. |
ElementProcessor |
getChild(java.lang.String uri,
java.lang.String localName,
java.lang.String qName)
Retrieves the appropriate child element processor for the newly encountered nested element. |
void |
processTag(Tag tag)
This is called by child element processors when a tag object is encountered. |
Methods inherited from class org.openstreetmap.osmosis.core.xml.v0_5.impl.EntityElementProcessor |
---|
buildUser |
Methods inherited from class org.openstreetmap.osmosis.core.xml.v0_5.impl.SourceElementProcessor |
---|
getSink |
Methods inherited from class org.openstreetmap.osmosis.core.xml.common.BaseElementProcessor |
---|
createTimestampContainer, getParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NodeElementProcessor(BaseElementProcessor parentProcessor, Sink sink, boolean enableDateParsing)
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 Detail |
---|
public void begin(org.xml.sax.Attributes attributes)
begin
in interface ElementProcessor
attributes
- The attributes of the new element.public ElementProcessor getChild(java.lang.String uri, java.lang.String localName, java.lang.String qName)
getChild
in interface ElementProcessor
getChild
in class BaseElementProcessor
uri
- The element uri.localName
- The element localName.qName
- The element qName.
public void end()
end
in interface ElementProcessor
public void processTag(Tag tag)
processTag
in interface TagListener
tag
- The tag to be processed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |