public void parseStream ( InputStream stream ) throws IOException { try { // read the XML input stream and construct the scene object _chars = new StringBuilder ( ) ; XMLUtil . parse ( this , stream ) ; } catch ( ParserConfigurationException pce ) { throw ( IOException ) new IOException ( ) . initCause ( pce ) ; } catch ( SAXException saxe ) { throw ( IOException ) new IOException ( ) . initCause ( saxe ) ; } }
Parse the given input stream .