public void setTag(String pat, long wit) {
   String ret = "";
   ret = ret + wit;
   setTag(pat, ret);
 }
 /**
  * Sets the Tag for the specified tag.
  *
  * @param tag the tag template to be replaced
  * @param tagvalue the value of the tag
  */
 public void setTag(String tag, Template tagvalue) {
   setTag(tag, tagvalue.toString());
 }