src/java.desktop/share/classes/javax/swing/text/AbstractWriter.java

Print this page

        

*** 259,269 **** * methods to generate output in the desired format. * @throws IOException if an I/O problem has occurred * @throws BadLocationException for an invalid location within * the document */ ! abstract protected void write() throws IOException, BadLocationException; /** * Returns the text associated with the element. * The assumption here is that the element is a * leaf element. Throws a BadLocationException --- 259,269 ---- * methods to generate output in the desired format. * @throws IOException if an I/O problem has occurred * @throws BadLocationException for an invalid location within * the document */ ! protected abstract void write() throws IOException, BadLocationException; /** * Returns the text associated with the element. * The assumption here is that the element is a * leaf element. Throws a BadLocationException