code: public void setMethod(String method) {
  	method = method.toLowerCase();
  	if (method.equals("loop")) this.method = MODE_LOOP;
  	else if (method.equals("exittag")) this.method = MODE_EXIT_TAG;
  	else if (method.equals("exittemplate")) this.method = MODE_EXIT_TEMPLATE;
      }
docs: set the value method
  
  @param method value to set