/** * Sets the content of the template buffer. * * @param string the string * @param variables the variable positions */ public final void setContent(String string, TemplateVariable[] variables) { Assert.isNotNull(string); Assert.isNotNull(variables); // XXX: assert non-overlapping variable properties fString= string; fVariables= copy(variables); }
/** * Sets the content of the template buffer. * * @param string the string * @param variables the variable positions */ public final void setContent(String string, TemplateVariable[] variables) { Assert.isNotNull(string); Assert.isNotNull(variables); // XXX: assert non-overlapping variable properties fString= string; fVariables= copy(variables); }