Exemplo n.º 1
0
  public Attribute createAttribute(Element element, String name, String value) {

    ElementImpl elementImpl = (ElementImpl) element;

    DocumentFactory documentFactory = DocumentFactory.getInstance();

    return new AttributeImpl(
        documentFactory.createAttribute(elementImpl.getWrappedElement(), name, value));
  }
 public Attribute createAttribute(Element owner, String name, String value) {
   return proxy.createAttribute(owner, name, value);
 }