Changeset 5266 in josm for trunk/src/org/openstreetmap/josm/io/MultiFetchServerObjectReader.java
- Timestamp:
- 2012-06-03T16:41:25+02:00 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/openstreetmap/josm/io/MultiFetchServerObjectReader.java
r4217 r5266 29 29 30 30 /** 31 * Retrieves a set of {@ seeOsmPrimitive}s from an OSM server using the so called31 * Retrieves a set of {@link OsmPrimitive}s from an OSM server using the so called 32 32 * Multi Fetch API. 33 33 * … … 77 77 78 78 /** 79 * Remembers an {@ seeOsmPrimitive}'s id. The id will79 * Remembers an {@link OsmPrimitive}'s id. The id will 80 80 * later be fetched as part of a Multi Get request. 81 81 * … … 94 94 95 95 /** 96 * remembers an {@ seeOsmPrimitive}'s id. <code>ds</code> must include97 * an {@ seeOsmPrimitive} with id=<code>id</code>. The id will96 * remembers an {@link OsmPrimitive}'s id. <code>ds</code> must include 97 * an {@link OsmPrimitive} with id=<code>id</code>. The id will 98 98 * later we fetched as part of a Multi Get request. 99 99 * … … 103 103 * @param id the id 104 104 * @exception IllegalArgumentException thrown, if ds is null 105 * @exception NoSuchElementException thrown, if ds doesn't include an {@ seeOsmPrimitive} with105 * @exception NoSuchElementException thrown, if ds doesn't include an {@link OsmPrimitive} with 106 106 * id=<code>id</code> 107 107 */ … … 135 135 136 136 /** 137 * appends a {@ seeNode}s id to the list of ids which will be fetched from the server.137 * appends a {@link Node}s id to the list of ids which will be fetched from the server. 138 138 * 139 139 * @param node the node (ignored, if null) … … 148 148 149 149 /** 150 * appends a {@ seeWay}s id and the list of ids of nodes the way refers to the list of ids which will be fetched from the server.150 * appends a {@link Way}s id and the list of ids of nodes the way refers to the list of ids which will be fetched from the server. 151 151 * 152 152 * @param way the way (ignored, if null) … … 167 167 168 168 /** 169 * appends a {@ seeRelation}s id to the list of ids which will be fetched from the server.169 * appends a {@link Relation}s id to the list of ids which will be fetched from the server. 170 170 * 171 171 * @param relation the relation (ignored, if null) … … 204 204 205 205 /** 206 * appends a list of {@ seeOsmPrimitive} to the list of ids which will be fetched from the server.206 * appends a list of {@link OsmPrimitive} to the list of ids which will be fetched from the server. 207 207 * 208 208 * @param primitives the list of primitives (ignored, if null) … … 223 223 224 224 /** 225 * extracts a subset of max {@ see#MAX_IDS_PER_REQUEST} ids from <code>ids</code> and225 * extracts a subset of max {@link #MAX_IDS_PER_REQUEST} ids from <code>ids</code> and 226 226 * replies the subset. The extracted subset is removed from <code>ids</code>. 227 227 * … … 248 248 /** 249 249 * builds the Multi Get request string for a set of ids and a given 250 * {@ seeOsmPrimitiveType}.250 * {@link OsmPrimitiveType}. 251 251 * 252 252 * @param type the type … … 271 271 /** 272 272 * builds the Multi Get request string for a single id and a given 273 * {@ seeOsmPrimitiveType}.273 * {@link OsmPrimitiveType}. 274 274 * 275 275 * @param type the type … … 286 286 287 287 /** 288 * invokes a Multi Get for a set of ids and a given {@ seeOsmPrimitiveType}.289 * The retrieved primitives are merged to {@ see#outputDataSet}.288 * invokes a Multi Get for a set of ids and a given {@link OsmPrimitiveType}. 289 * The retrieved primitives are merged to {@link #outputDataSet}. 290 290 * 291 291 * @param type the type … … 309 309 310 310 /** 311 * invokes a Multi Get for a single id and a given {@ seeOsmPrimitiveType}.312 * The retrieved primitive is merged to {@ see#outputDataSet}.311 * invokes a Multi Get for a single id and a given {@link OsmPrimitiveType}. 312 * The retrieved primitive is merged to {@link #outputDataSet}. 313 313 * 314 314 * @param type the type … … 333 333 334 334 /** 335 * invokes a sequence of Multi Gets for individual ids in a set of ids and a given {@ seeOsmPrimitiveType}.336 * The retrieved primitives are merged to {@ see#outputDataSet}.335 * invokes a sequence of Multi Gets for individual ids in a set of ids and a given {@link OsmPrimitiveType}. 336 * The retrieved primitives are merged to {@link #outputDataSet}. 337 337 * 338 338 * This method is used if one of the ids in pkg doesn't exist (the server replies with return code 404). … … 380 380 381 381 /** 382 * merges the dataset <code>from</code> to {@ see#outputDataSet}.382 * merges the dataset <code>from</code> to {@link #outputDataSet}. 383 383 * 384 384 * @param from the other dataset … … 391 391 392 392 /** 393 * fetches a set of ids of a given {@ seeOsmPrimitiveType} from the server393 * fetches a set of ids of a given {@link OsmPrimitiveType} from the server 394 394 * 395 395 * @param ids the set of ids … … 423 423 424 424 /** 425 * invokes one or more Multi Gets to fetch the {@ seeOsmPrimitive}s and replies425 * invokes one or more Multi Gets to fetch the {@link OsmPrimitive}s and replies 426 426 * the dataset of retrieved primitives. Note that the dataset includes non visible primitives too! 427 427 * In contrast to a simple Get for a node, a way, or a relation, a Multi Get always replies … … 429 429 * visible==false). 430 430 * 431 * Invoke {@ see#getMissingPrimitives()} to get a list of primitives which have not been431 * Invoke {@link #getMissingPrimitives()} to get a list of primitives which have not been 432 432 * found on the server (the server response code was 404) 433 433 *
Note:
See TracChangeset
for help on using the changeset viewer.
