code: @Override
  	public void setInput(Reader reader) {
  		this.reader = reader;
  
  		type = START_DOCUMENT;
  		name = null;
  		namespace = null;
  		degenerated = false;
  		attributeCount = -1;
  		encoding = null;
  		version = null;
  		standalone = null;
  
  		if (reader == null) {
  			return;
  		}
  
  		position = 0;
  		limit = 0;
  		bufferStartLine = 0;
  		bufferStartColumn = 0;
  		depth = 0;
  		documentEntities = null;
  	}
docs: /* (non-Javadoc)
  @see com.abubusoft.kripton.xml.XmlPullParser#setInput(java.io.Reader)