equal
deleted
inserted
replaced
349 } |
349 } |
350 |
350 |
351 /** |
351 /** |
352 * Allows the user to set specific attributes on the underlying |
352 * Allows the user to set specific attributes on the underlying |
353 * implementation. |
353 * implementation. |
|
354 * <p> |
|
355 * All implementations that implement JAXP 1.5 or newer are required to |
|
356 * support the {@link javax.xml.XMLConstants#ACCESS_EXTERNAL_DTD} and |
|
357 * {@link javax.xml.XMLConstants#ACCESS_EXTERNAL_SCHEMA} properties. |
|
358 * </p> |
|
359 * <ul> |
|
360 * <li> |
|
361 * <p> |
|
362 * Setting the {@link javax.xml.XMLConstants#ACCESS_EXTERNAL_DTD} property |
|
363 * restricts the access to external DTDs, external Entity References to the |
|
364 * protocols specified by the property. |
|
365 * If access is denied during parsing due to the restriction of this property, |
|
366 * {@link org.xml.sax.SAXException} will be thrown by the parse methods defined by |
|
367 * {@link javax.xml.parsers.DocumentBuilder}. |
|
368 * </p> |
|
369 * <p> |
|
370 * Setting the {@link javax.xml.XMLConstants#ACCESS_EXTERNAL_SCHEMA} property |
|
371 * restricts the access to external Schema set by the schemaLocation attribute to |
|
372 * the protocols specified by the property. If access is denied during parsing |
|
373 * due to the restriction of this property, {@link org.xml.sax.SAXException} |
|
374 * will be thrown by the parse methods defined by |
|
375 * {@link javax.xml.parsers.DocumentBuilder}. |
|
376 * </p> |
|
377 * </li> |
|
378 * </ul> |
354 * |
379 * |
355 * @param name The name of the attribute. |
380 * @param name The name of the attribute. |
356 * @param value The value of the attribute. |
381 * @param value The value of the attribute. |
357 * |
382 * |
358 * @throws IllegalArgumentException thrown if the underlying |
383 * @throws IllegalArgumentException thrown if the underlying |