org.openstreetmap.osmosis.core.container.v0_6
Interface EntityContainerFactory<T>

Type Parameters:
T - The type of entity.
All Known Implementing Classes:
BoundContainerFactory, NodeContainerFactory, RelationContainerFactory, WayContainerFactory

public interface EntityContainerFactory<T>

Wraps entity objects in containers suitable for the entity type.


Method Summary
 EntityContainer createContainer(T entity)
          Wraps the entity in a container.
 

Method Detail

createContainer

EntityContainer createContainer(T entity)
Wraps the entity in a container.

Parameters:
entity - The entity to be wrapped.
Returns:
The entity container.