/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ public Tag(StoreReader sr, StoreClassRegister scr) { this(sr.readString(), sr.readString()); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ public Tag(StoreReader sr, StoreClassRegister scr) { this(sr.readString(), sr.readString()); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ public OsmUser(StoreReader sr, StoreClassRegister scr) { name = sr.readString(); id = sr.readInteger(); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ public RelationMember(StoreReader sr, StoreClassRegister scr) { this( sr.readLong(), EntityType.valueOf(sr.readString()), sr.readString() ); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ public OsmUser(StoreReader sr, StoreClassRegister scr) { name = sr.readString(); id = sr.readInteger(); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ public RelationMember(StoreReader sr, StoreClassRegister scr) { this( sr.readLong(), EntityType.valueOf(sr.readString()), sr.readString() ); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @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()); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @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()); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers within the store. */ public Bound(StoreReader sr, StoreClassRegister scr) { super(sr, scr); this.right = sr.readDouble(); this.left = sr.readDouble(); this.top = sr.readDouble(); this.bottom = sr.readDouble(); this.origin = sr.readString(); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers within the store. */ public Bound(StoreReader sr, StoreClassRegister scr) { super(sr, scr); this.right = sr.readDouble(); this.left = sr.readDouble(); this.top = sr.readDouble(); this.bottom = sr.readDouble(); this.origin = sr.readString(); }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ public CommonEntityData(StoreReader sr, StoreClassRegister scr) { this( sr.readLong(), sr.readInteger(), readTimestampContainer(sr, scr), readOsmUser(sr, scr), sr.readInteger(), new TagCollectionImpl(sr, scr) ); int metaTagCount; metaTagCount = sr.readInteger(); metaTags = new LazyHashMap<String, Object>(); for (int i = 0; i < metaTagCount; i++) { metaTags.put(sr.readString(), sr.readString()); } }
/** * Creates a new instance. * * @param sr * The store to read state from. * @param scr * Maintains the mapping between classes and their identifiers * within the store. */ public CommonEntityData(StoreReader sr, StoreClassRegister scr) { this( sr.readLong(), sr.readInteger(), readTimestampContainer(sr, scr), readOsmUser(sr, scr), sr.readInteger(), new TagCollectionImpl(sr, scr) ); int metaTagCount; metaTagCount = sr.readInteger(); metaTags = new LazyHashMap<String, Object>(); for (int i = 0; i < metaTagCount; i++) { metaTags.put(sr.readString(), sr.readString()); } }