org.openstreetmap.osmosis.core.container.v0_6
Class RelationContainerFactory

java.lang.Object
  extended by org.openstreetmap.osmosis.core.container.v0_6.RelationContainerFactory
All Implemented Interfaces:
EntityContainerFactory<Relation>

public class RelationContainerFactory
extends java.lang.Object
implements EntityContainerFactory<Relation>

A container factory for relation objects.


Constructor Summary
RelationContainerFactory()
           
 
Method Summary
 EntityContainer createContainer(Relation entity)
          Wraps the entity in a container.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RelationContainerFactory

public RelationContainerFactory()
Method Detail

createContainer

public EntityContainer createContainer(Relation entity)
Wraps the entity in a container.

Specified by:
createContainer in interface EntityContainerFactory<Relation>
Parameters:
entity - The entity to be wrapped.
Returns:
The entity container.