Assigns a value after casting it to the correct type. If the option is unknown, it will be added as free option. @param name name of option @param value value @throws BaseXException database exception
(final String name, final String value)
| 378 | * @throws BaseXException database exception |
| 379 | */ |
| 380 | public synchronized void assign(final String name, final String value) throws BaseXException { |
| 381 | if(definitions.isEmpty()) { |
| 382 | free.put(name, value); |
| 383 | } else { |
| 384 | assign(name, value, -1, true); |
| 385 | } |
| 386 | } |
| 387 | |
| 388 | /** |
| 389 | * Assigns a value after casting it to the correct type. If the option is unknown, |
no test coverage detected