Sets the autoFlush attribute. @param value The autoFlush value @param n The node @param err The error dispatcher @throws JasperException if the autoFlush value is invalid
(String value, Node n, ErrorDispatcher err)
| 702 | * @throws JasperException if the autoFlush value is invalid |
| 703 | */ |
| 704 | public void setAutoFlush(String value, Node n, ErrorDispatcher err) throws JasperException { |
| 705 | |
| 706 | if ("true".equalsIgnoreCase(value)) { |
| 707 | isAutoFlush = true; |
| 708 | } else if ("false".equalsIgnoreCase(value)) { |
| 709 | isAutoFlush = false; |
| 710 | } else { |
| 711 | err.jspError(n, "jsp.error.autoFlush.invalid"); |
| 712 | } |
| 713 | |
| 714 | autoFlush = value; |
| 715 | } |
| 716 | |
| 717 | /** |
| 718 | * Returns the autoFlush attribute value. |
no test coverage detected