org.openstreetmap.osmosis.core.apidb.v0_6.impl
Class EntityDataRowMapper

java.lang.Object
  extended by org.openstreetmap.osmosis.core.apidb.v0_6.impl.EntityDataRowMapper
All Implemented Interfaces:
org.springframework.jdbc.core.RowCallbackHandler

public class EntityDataRowMapper
extends java.lang.Object
implements org.springframework.jdbc.core.RowCallbackHandler

Maps entity result set rows into common entity data objects.


Constructor Summary
EntityDataRowMapper(RowMapperListener<CommonEntityData> listener, boolean readAllUsers)
          Creates a new instance.
 
Method Summary
 void processRow(java.sql.ResultSet resultSet)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EntityDataRowMapper

public EntityDataRowMapper(RowMapperListener<CommonEntityData> listener,
                           boolean readAllUsers)
Creates a new instance.

Parameters:
listener - The destination for result objects.
readAllUsers - If true, even anonymous users will be returned. Should be false in most cases.
Method Detail

processRow

public void processRow(java.sql.ResultSet resultSet)
                throws java.sql.SQLException

Specified by:
processRow in interface org.springframework.jdbc.core.RowCallbackHandler
Throws:
java.sql.SQLException