public Node cloneNode(boolean deep) { ElementImpl cloned = new ElementStyleImpl(this); if (deep) cloneChildNodes(cloned, deep); return cloned; }
/** * createElement method * @return org.w3c.dom.Element * @param tagName java.lang.String */ public Element createElement(String tagName) throws DOMException { checkTagNameValidity(tagName); ElementStyleImpl element = new ElementStyleImpl(); element.setOwnerDocument(this); element.setTagName(tagName); return element; }