jaxp/src/javax/xml/stream/XMLInputFactory.java
changeset 17534 21dc0b2762da
parent 17264 3aff554ad461
child 17537 50528ec0ea37
equal deleted inserted replaced
17533:93a2cadbbd33 17534:21dc0b2762da
   431    * @param reporter the resolver to use to report non fatal errors
   431    * @param reporter the resolver to use to report non fatal errors
   432    */
   432    */
   433   public abstract void setXMLReporter(XMLReporter reporter);
   433   public abstract void setXMLReporter(XMLReporter reporter);
   434 
   434 
   435   /**
   435   /**
   436    * Allows the user to set specific feature/property on the underlying implementation. The underlying implementation
   436    * Allows the user to set specific feature/property on the underlying
   437    * is not required to support every setting of every property in the specification and may use IllegalArgumentException
   437    * implementation. The underlying implementation is not required to support
   438    * to signal that an unsupported property may not be set with the specified value.
   438    * every setting of every property in the specification and may use
       
   439    * IllegalArgumentException to signal that an unsupported property may not be
       
   440    * set with the specified value.
       
   441    * <p>
       
   442    * All implementations that implement JAXP 1.5 or newer are required to
       
   443    * support the {@link javax.xml.XMLConstants#ACCESS_EXTERNAL_DTD} property.
       
   444    * </p>
       
   445    * <ul>
       
   446    *   <li>
       
   447    *        <p>
       
   448    *        Access to external DTDs, external Entity References is restricted to the
       
   449    *        protocols specified by the property. If access is denied during parsing
       
   450    *        due to the restriction of this property, {@link javax.xml.stream.XMLStreamException}
       
   451    *        will be thrown.
       
   452    *        </p>
       
   453    *   </li>
       
   454    * </ul>
   439    * @param name The name of the property (may not be null)
   455    * @param name The name of the property (may not be null)
   440    * @param value The value of the property
   456    * @param value The value of the property
   441    * @throws java.lang.IllegalArgumentException if the property is not supported
   457    * @throws java.lang.IllegalArgumentException if the property is not supported
   442    */
   458    */
   443   public abstract void setProperty(java.lang.String name, Object value)
   459   public abstract void setProperty(java.lang.String name, Object value)