|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.change.v0_5.impl.TimestampChangeSetter
public class TimestampChangeSetter
An entity processor that copies the input entity but applies the current timestamp before sending it to the change sink. Note that the same time will be applied to all entities and will be the time that the internal timestamp was first derived.
Constructor Summary | |
---|---|
TimestampChangeSetter(ChangeSink changeSink,
ChangeAction action)
Creates a new instance. |
Method Summary | |
---|---|
void |
process(BoundContainer boundContainer)
Process the bound. |
void |
process(NodeContainer nodeContainer)
Process the node. |
void |
process(RelationContainer relationContainer)
Process the relation. |
void |
process(WayContainer wayContainer)
Process the way. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TimestampChangeSetter(ChangeSink changeSink, ChangeAction action)
changeSink
- The sink to send all changes to.action
- The action to apply to all entities.Method Detail |
---|
public void process(BoundContainer boundContainer)
process
in interface EntityProcessor
boundContainer
- The bound to be processed.public void process(NodeContainer nodeContainer)
process
in interface EntityProcessor
nodeContainer
- The node to be processed.public void process(WayContainer wayContainer)
process
in interface EntityProcessor
wayContainer
- The way to be processed.public void process(RelationContainer relationContainer)
process
in interface EntityProcessor
relationContainer
- The relation to be processed.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |