|
|||||||||
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
public abstract class EntityElementProcessor
Provides common element processor functionality for all entity processors.
Constructor Summary | |
---|---|
EntityElementProcessor(BaseElementProcessor parentProcessor,
Sink sink,
boolean enableDateParsing)
Creates a new instance. |
Method Summary | |
---|---|
protected OsmUser |
buildUser(java.lang.String rawUserId,
java.lang.String rawUserName)
Creates a user instance appropriate to the arguments. |
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, getChild, getParent |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.openstreetmap.osmosis.core.xml.common.ElementProcessor |
---|
begin, end |
Constructor Detail |
---|
public EntityElementProcessor(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 |
---|
protected OsmUser buildUser(java.lang.String rawUserId, java.lang.String rawUserName)
rawUserId
- The value of the user id attribute.rawUserName
- The value of the user name attribute.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |