code: public void setInput(Reader input, boolean close)
  	{
  		if (r != null)
  			reset();
  		r = input;
  		closeReader = close;
  	}
docs: /* (non-Javadoc)
  @see tuwien.auto.calimero.xml.XMLReader#setInput(java.io.Reader, boolean)