本文整理了Java中org.apache.abdera.model.Element.removeAttribute()
方法的一些代码示例,展示了Element.removeAttribute()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Element.removeAttribute()
方法的具体详情如下:
包路径:org.apache.abdera.model.Element
类名称:Element
方法名:removeAttribute
[英]Remove the named attribute
[中]删除命名属性
代码示例来源:origin: org.apache.abdera/abdera-core
public <T extends Element> T removeAttribute(String name) {
internal.removeAttribute(name);
return (T)this;
}
代码示例来源:origin: org.apache.abdera/abdera-core
public <T extends Element> T removeAttribute(QName qname) {
internal.removeAttribute(qname);
return (T)this;
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.abdera
public <T extends Element>T removeAttribute(String name) {
internal.removeAttribute(name);
return (T)this;
}
代码示例来源:origin: org.apache.servicemix.bundles/org.apache.servicemix.bundles.abdera
public <T extends Element>T removeAttribute(QName qname) {
internal.removeAttribute(qname);
return (T)this;
}
代码示例来源:origin: org.apache.abdera/abdera-extensions-main
/**
* 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);
}
内容来源于网络,如有侵权,请联系作者删除!