Package org.openstreetmap.osmosis.core.store

Examples of org.openstreetmap.osmosis.core.store.GenericObjectReader


   *            Maintains the mapping between classes and their identifiers
   *            within the store.
   */
  @SuppressWarnings("unchecked")
  public EntityHistory(StoreReader sr, StoreClassRegister scr) {
    entity = (T) new GenericObjectReader(sr, scr).readObject();
   
    visible = sr.readBoolean();
  }
View Full Code Here


   *            Maintains the mapping between classes and their identifiers
   *            within the store.
   */
  @SuppressWarnings("unchecked")
  public DbFeatureHistory(StoreReader sr, StoreClassRegister scr) {
    feature = (T) new GenericObjectReader(sr, scr).readObject();
   
    version = sr.readInteger();
  }
View Full Code Here

   * @param scr
   *            Maintains the mapping between classes and their identifiers
   *            within the store.
   */
  public ChangeContainer(StoreReader sr, StoreClassRegister scr) {
    entityContainer = (EntityContainer) new GenericObjectReader(sr, scr).readObject();
    action = ChangeAction.valueOf(sr.readString());
  }
View Full Code Here

   */
  @SuppressWarnings("unchecked")
  public DbFeature(StoreReader sr, StoreClassRegister scr) {
    this(
      sr.readLong(),
      (T) new GenericObjectReader(sr, scr).readObject()
    );
  }
View Full Code Here

TOP

Related Classes of org.openstreetmap.osmosis.core.store.GenericObjectReader

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.