public <T extends Element> T removeAttribute(String name) { internal.removeAttribute(name); return (T)this; }
public <T extends Element> T removeAttribute(QName qname) { internal.removeAttribute(qname); return (T)this; }
public <T extends Element>T removeAttribute(String name) { internal.removeAttribute(name); return (T)this; }
public <T extends Element>T removeAttribute(QName qname) { internal.removeAttribute(qname); return (T)this; }
/** * Set the value of dir attribute */ public static <T extends Element> void setDirection(Direction direction, T element) { if (direction != Direction.UNSPECIFIED) element.setAttributeValue(DIR, direction.toString().toLowerCase()); else if (direction == Direction.UNSPECIFIED) element.setAttributeValue(DIR, ""); else if (direction == null) element.removeAttribute(DIR); }