code: public static InputStream decode(DataBinder binder, InputStream stream) throws ParserConfigurationException, SAXException, IOException {
          XML.newSAXParser().parse(stream, new XDBHandler(binder));
          return stream;
      }
docs: Decodes an XML stream. Returns the input stream.