code: public void parse(InputStream xmlInput) throws XMLStreamException {
      InputStream input = isoControlCharsAwareParser ? new ISOControlCharAwareInputStream(xmlInput) : xmlInput;
      parse(inf.rootElementCursor(input));
    }
docs: parse XML stream:
  
  @param xmlInput - java.io.InputStream = input file
  @exception XMLStreamException javax.xml.stream.XMLStreamException