support for setting the string buffer in the template file
new string buffer based visitor consructor