code: public void parse(String str) {
  		if (buffer.length() > 0) {
  			str = buffer.toString().concat(str);
  			buffer = new StringBuilder();
  		}
  		Reader reader = new StringReader(str);
  		try {
  			try {
  				parse(reader);
  			} finally {
  				reader.close();
  			}
  		} catch (IOException ex) {
  			/* ignore */
  		}
  	}
docs: Parses the specified string.
  @param str The string to parse.