code: 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);
          }
      }
docs: Parse the given input stream.
  
  @param stream the input stream from which the XML source to be
  parsed can be loaded.
  
  @exception IOException thrown if an error occurs while parsing
  the stream.