|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.openstreetmap.osmosis.core.container.v0_6.EntityContainer
public abstract class EntityContainer
Implementations of this class allow data entities to be processed without the caller knowing their type.
Constructor Summary | |
---|---|
EntityContainer()
|
Method Summary | |
---|---|
abstract Entity |
getEntity()
Returns the contained entity. |
abstract EntityContainer |
getWriteableInstance()
Returns an instance containing a writeable entity. |
abstract void |
process(EntityProcessor processor)
Calls the appropriate process method with the contained entity. |
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.store.Storeable |
---|
store |
Constructor Detail |
---|
public EntityContainer()
Method Detail |
---|
public abstract void process(EntityProcessor processor)
processor
- The processor to invoke.public abstract Entity getEntity()
public abstract EntityContainer getWriteableInstance()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |