if (!(parent instanceof Element))
throw new IllegalStateException("Parent is not an element");
return new DomContent(this, (Element) parent);
if (!(parent instanceof Element))
throw new IllegalStateException("Parent is not an element");
return new DomContent(this, (Element) parent);