|
|||||||||
| 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
org.openstreetmap.osmosis.core.container.v0_6.RelationContainer
public class RelationContainer
Entity container implementation for relations.
| Constructor Summary | |
|---|---|
RelationContainer(Relation relation)
Creates a new instance. |
|
RelationContainer(StoreReader sr,
StoreClassRegister scr)
Creates a new instance. |
|
| Method Summary | |
|---|---|
Relation |
getEntity()
Returns the contained entity. |
RelationContainer |
getWriteableInstance()
Returns an instance containing a writeable entity. |
void |
process(EntityProcessor processor)
Calls the appropriate process method with the contained entity. |
void |
store(StoreWriter sw,
StoreClassRegister scr)
Stores all state to the specified store writer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RelationContainer(Relation relation)
relation - The relation to wrap.
public RelationContainer(StoreReader sr,
StoreClassRegister scr)
sr - The store to read state from.scr - Maintains the mapping between classes and their identifiers
within the store.| Method Detail |
|---|
public void store(StoreWriter sw,
StoreClassRegister scr)
sw - The writer that persists data to an underlying store.scr - Maintains the mapping between classes and their identifiers
within the store.public void process(EntityProcessor processor)
process in class EntityContainerprocessor - The processor to invoke.public Relation getEntity()
getEntity in class EntityContainerpublic RelationContainer getWriteableInstance()
getWriteableInstance in class EntityContainer
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||