< prev index next >

test/javax/xml/jaxp/unittest/stream/Bug6688002Test.java

Print this page




  96                 }
  97                 r.close();
  98                 fis.close();
  99             } catch (Exception e) {
 100                 Assert.fail(e.getMessage());
 101             }
 102         }
 103     }
 104 
 105     public static/* synchronized */XMLStreamReader getReader(InputStream is) throws Exception {
 106         return inputFactory.createXMLStreamReader(is);
 107         // return XMLStreamReaderFactory.create(null, is, true);
 108     }
 109 
 110     public static/* synchronized */XMLStreamWriter getWriter(OutputStream os) throws Exception {
 111         return outputFactory.createXMLStreamWriter(os);
 112         // return XMLStreamWriterFactory.createXMLStreamWriter(os);
 113     }
 114 
 115 }
 116 


  96                 }
  97                 r.close();
  98                 fis.close();
  99             } catch (Exception e) {
 100                 Assert.fail(e.getMessage());
 101             }
 102         }
 103     }
 104 
 105     public static/* synchronized */XMLStreamReader getReader(InputStream is) throws Exception {
 106         return inputFactory.createXMLStreamReader(is);
 107         // return XMLStreamReaderFactory.create(null, is, true);
 108     }
 109 
 110     public static/* synchronized */XMLStreamWriter getWriter(OutputStream os) throws Exception {
 111         return outputFactory.createXMLStreamWriter(os);
 112         // return XMLStreamWriterFactory.createXMLStreamWriter(os);
 113     }
 114 
 115 }

< prev index next >