public Element createElement(String tagName) throws DOMException {
   return ElementFactory.createElement(
       this,
       NameImpl.getLocalNameFromTagName(tagName),
       NameImpl.getPrefixFromTagName(tagName),
       null);
 }
 public Element createElementNS(String namespaceURI, String qualifiedName) throws DOMException {
   return ElementFactory.createElement(
       this,
       NameImpl.getLocalNameFromTagName(qualifiedName),
       NameImpl.getPrefixFromTagName(qualifiedName),
       namespaceURI);
 }