private HtmlElementType(Class<? extends HtmlElement> clazz, boolean hasCloseTag, HtmlTokenizerState switchTo){ 
		Constructor<? extends HtmlElement> c;
		try {
			c = clazz.getConstructor(HtmlMidNode.class, HtmlAttributeToken[].class);
		} catch (NoSuchMethodException | SecurityException e) {
			assert false : e ;
			c = null;
		}
		this.constructor = c;
		this.hasCloseTag = hasCloseTag;
		this.switchTo = switchTo;
	}