@param element @param index @throws IllegalPropertyAccessException
(Property element, int index)
| 469 | * @throws IllegalPropertyAccessException |
| 470 | */ |
| 471 | public void setQueryELement(Property element, int index) throws IllegalPropertyAccessException { |
| 472 | if (this.query == null) { |
| 473 | this.query = new PropertyList<Property>(); |
| 474 | } |
| 475 | if (index < 0 || index > this.query.size() + 1) { |
| 476 | throw new IllegalPropertyAccessException("Index [" + index + "] is out of bounds"); |
| 477 | } |
| 478 | this.query.set(index, element); |
| 479 | } |
| 480 | |
| 481 | /** |
| 482 | * Get the raw query string for this URL. |