/** * Prepends the value of the specified Template to the begining of this Template. * * @param hout the Template */ public Template prepend(Template hout) { if (hout != null) m_template = new StringBuffer(hout.toString() + m_template.toString()); return this; }
public void setLastTag(String tag, Template tagvalue) { setLastTag(tag, tagvalue.toString()); }
/** * Appends the value of the specified Template to the end of this Template. * * @param hout the Template */ public Template append(Template hout) { if (hout != null) m_template = m_template.append(hout.toString()); return this; }
/** * Constructs a new Template with the specified template. * * @param templ the Template */ public Template(Template templ) { m_template = new StringBuffer(templ.toString()); m_template2 = new StringBuffer(templ.toString()); }