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