416 * The resolver that will be set on any XMLStreamReader or XMLEventReader created 417 * by this factory instance. 418 * @param resolver the resolver to use to resolve references 419 */ 420 public abstract void setXMLResolver(XMLResolver resolver); 421 422 /** 423 * The reporter that will be set on any XMLStreamReader or XMLEventReader created 424 * by this factory instance. 425 */ 426 public abstract XMLReporter getXMLReporter(); 427 428 /** 429 * The reporter that will be set on any XMLStreamReader or XMLEventReader created 430 * by this factory instance. 431 * @param reporter the resolver to use to report non fatal errors 432 */ 433 public abstract void setXMLReporter(XMLReporter reporter); 434 435 /** 436 * Allows the user to set specific feature/property on the underlying implementation. The underlying implementation 437 * is not required to support every setting of every property in the specification and may use IllegalArgumentException 438 * to signal that an unsupported property may not be set with the specified value. 439 * @param name The name of the property (may not be null) 440 * @param value The value of the property 441 * @throws java.lang.IllegalArgumentException if the property is not supported 442 */ 443 public abstract void setProperty(java.lang.String name, Object value) 444 throws java.lang.IllegalArgumentException; 445 446 /** 447 * Get the value of a feature/property from the underlying implementation 448 * @param name The name of the property (may not be null) 449 * @return The value of the property 450 * @throws IllegalArgumentException if the property is not supported 451 */ 452 public abstract Object getProperty(java.lang.String name) 453 throws java.lang.IllegalArgumentException; 454 455 456 /** 457 * Query the set of properties that this factory supports. 458 * | 416 * The resolver that will be set on any XMLStreamReader or XMLEventReader created 417 * by this factory instance. 418 * @param resolver the resolver to use to resolve references 419 */ 420 public abstract void setXMLResolver(XMLResolver resolver); 421 422 /** 423 * The reporter that will be set on any XMLStreamReader or XMLEventReader created 424 * by this factory instance. 425 */ 426 public abstract XMLReporter getXMLReporter(); 427 428 /** 429 * The reporter that will be set on any XMLStreamReader or XMLEventReader created 430 * by this factory instance. 431 * @param reporter the resolver to use to report non fatal errors 432 */ 433 public abstract void setXMLReporter(XMLReporter reporter); 434 435 /** 436 * Allows the user to set specific feature/property on the underlying 437 * implementation. The underlying implementation is not required to support 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> 455 * @param name The name of the property (may not be null) 456 * @param value The value of the property 457 * @throws java.lang.IllegalArgumentException if the property is not supported 458 */ 459 public abstract void setProperty(java.lang.String name, Object value) 460 throws java.lang.IllegalArgumentException; 461 462 /** 463 * Get the value of a feature/property from the underlying implementation 464 * @param name The name of the property (may not be null) 465 * @return The value of the property 466 * @throws IllegalArgumentException if the property is not supported 467 */ 468 public abstract Object getProperty(java.lang.String name) 469 throws java.lang.IllegalArgumentException; 470 471 472 /** 473 * Query the set of properties that this factory supports. 474 * |