public HtmlTemplateMethodWriter(String html, Tokenator tokenator, HtmlTemplatesWriter templates) throws IllegalArgumentException { assertNotNull("html", html); assertNotNull("tokenator", tokenator); assertNotNull("templates", templates); this.templates = templates; methodName = "html" + this.templates.nextTemplateId(); this.html = html; this.tokenator = tokenator; }
public HtmlTemplateMethodWriter(String html, Tokenator tokenator, HtmlTemplatesWriter templates) throws IllegalArgumentException { assertNotNull("html", html); assertNotNull("tokenator", tokenator); assertNotNull("templates", templates); this.templates = templates; methodName = "html" + this.templates.nextTemplateId(); this.html = html; this.tokenator = tokenator; }