mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-20 19:14:38 +02:00
8011653: Upgrade JDK8 to JAXP 1.5
Reviewed-by: alanb, dfuchs
This commit is contained in:
parent
c76e4b0e46
commit
f0330c4199
93 changed files with 1767 additions and 225 deletions
|
@ -433,9 +433,25 @@ public abstract class XMLInputFactory {
|
|||
public abstract void setXMLReporter(XMLReporter reporter);
|
||||
|
||||
/**
|
||||
* Allows the user to set specific feature/property on the underlying implementation. The underlying implementation
|
||||
* is not required to support every setting of every property in the specification and may use IllegalArgumentException
|
||||
* to signal that an unsupported property may not be set with the specified value.
|
||||
* Allows the user to set specific feature/property on the underlying
|
||||
* implementation. The underlying implementation is not required to support
|
||||
* every setting of every property in the specification and may use
|
||||
* IllegalArgumentException to signal that an unsupported property may not be
|
||||
* set with the specified value.
|
||||
* <p>
|
||||
* All implementations that implement JAXP 1.5 or newer are required to
|
||||
* support the {@link javax.xml.XMLConstants#ACCESS_EXTERNAL_DTD} property.
|
||||
* </p>
|
||||
* <ul>
|
||||
* <li>
|
||||
* <p>
|
||||
* Access to external DTDs, external Entity References is restricted to the
|
||||
* protocols specified by the property. If access is denied during parsing
|
||||
* due to the restriction of this property, {@link javax.xml.stream.XMLStreamException}
|
||||
* will be thrown.
|
||||
* </p>
|
||||
* </li>
|
||||
* </ul>
|
||||
* @param name The name of the property (may not be null)
|
||||
* @param value The value of the property
|
||||
* @throws java.lang.IllegalArgumentException if the property is not supported
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue