< prev index next >

test/javax/xml/jaxp/unittest/sax/Bug7057778Test.java

Print this page




 182             }
 183         }
 184 
 185         // Start a new line
 186         // and indent the next line appropriately
 187         private void nl() throws SAXException {
 188             String lineEnd = getSystemProperty("line.separator");
 189 
 190             try {
 191                 out.write(lineEnd);
 192 
 193                 for (int i = 0; i < indentLevel; i++)
 194                     out.write(indentString);
 195             } catch (IOException e) {
 196                 throw new SAXException("I/O error", e);
 197             }
 198         }
 199 
 200     }
 201 }
 202 


 182             }
 183         }
 184 
 185         // Start a new line
 186         // and indent the next line appropriately
 187         private void nl() throws SAXException {
 188             String lineEnd = getSystemProperty("line.separator");
 189 
 190             try {
 191                 out.write(lineEnd);
 192 
 193                 for (int i = 0; i < indentLevel; i++)
 194                     out.write(indentString);
 195             } catch (IOException e) {
 196                 throw new SAXException("I/O error", e);
 197             }
 198         }
 199 
 200     }
 201 }

< prev index next >