question: public void parse ( InputStream in , String encoding ) throws IOException , SAXException { try { _xmlReader . setInput ( in , encoding ) ; parseAll ( ) ; } catch ( XMLStreamException e ) { if ( e . getNestedException ( ) instanceof IOException ) throw ( IOException ) e . getNestedException ( ) ; throw new SAXException ( e . getMessage ( ) ) ; } finally { _xmlReader . reset ( ) ; } }
target:  Parses an XML document from the specified input stream and encoding.