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