/** * Set the named attribute on this element. * @param attribute The attribute name. * @param value The attribute value. */ public void setAttribute(String attribute, String value) { setAttributeNS(XMLConstants.NULL_NS_URI, attribute, value); }
/** * Set the named attribute on this element. * @param attribute The attribute name. * @param value The attribute value. */ public void setAttribute(String attribute, String value) { setAttributeNS(XMLConstants.NULL_NS_URI, attribute, value); }
/** * Set the named attribute on this element. * @param attribute The attribute name. * @param value The attribute value. */ public void setAttribute(String attribute, String value) { setAttributeNS(XMLConstants.NULL_NS_URI, attribute, value); }
/** * Set the named attribute on this element. * @param attribute The attribute name. * @param value The attribute value. */ public void setAttribute(String attribute, String value) { setAttributeNS(XMLConstants.NULL_NS_URI, attribute, value); }
String prefix = attribName.getPrefix(); if(prefix != null && prefix.length() > 0) { newElement.setAttributeNS(namespaceURI, prefix + ":" + attribName.getLocalPart(), valueTemplate.apply(beans)); } else { newElement.setAttributeNS(namespaceURI, attribName.getLocalPart(), valueTemplate.apply(beans));
String prefix = attribName.getPrefix(); if(prefix != null && prefix.length() > 0) { newElement.setAttributeNS(namespaceURI, prefix + ":" + attribName.getLocalPart(), valueTemplate.apply(beans)); } else { newElement.setAttributeNS(namespaceURI, attribName.getLocalPart(), valueTemplate.apply(beans));
String prefix = attribName.getPrefix(); if(prefix != null && prefix.length() > 0) { newElement.setAttributeNS(namespaceURI, prefix + ":" + attribName.getLocalPart(), valueTemplate.apply(beans)); } else { newElement.setAttributeNS(namespaceURI, attribName.getLocalPart(), valueTemplate.apply(beans));
String prefix = attribName.getPrefix(); if(prefix != null && prefix.length() > 0) { newElement.setAttributeNS(namespaceURI, prefix + ":" + attribName.getLocalPart(), valueTemplate.apply(beans)); } else { newElement.setAttributeNS(namespaceURI, attribName.getLocalPart(), valueTemplate.apply(beans));