code: public void close()
  	{
  		if (inputStream == null)
  		{
  			return;
  		}
  		try
  		{
  			inputStream.close();
  		}
  		catch (Exception e)
  		{
  			listener.exceptionThrown(e);
  		}
  	}
docs: Close the input stream of xml data.