本文整理了Java中org.jvnet.hk2.config.Dom.insertAfter()
方法的一些代码示例,展示了Dom.insertAfter()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Dom.insertAfter()
方法的具体详情如下:
包路径:org.jvnet.hk2.config.Dom
类名称:Dom
方法名:insertAfter
[英]Inserts a new Dom node right after the given DOM element.
[中]在给定的Dom元素后面插入一个新的Dom节点。
代码示例来源:origin: javaee/glassfish
public void add(int index, Object element) {
// update the master children list, as well as this view 'v'
Dom child = Dom.unwrap((ConfigBeanProxy) element);
dom.insertAfter( index==0 ? null : v.get(index-1), xmlName, child);
v.add(index,child);
}
代码示例来源:origin: org.glassfish.hk2/hk2-config
public void add(int index, Object element) {
// update the master children list, as well as this view 'v'
Dom child = Dom.unwrap((ConfigBeanProxy) element);
dom.insertAfter( index==0 ? null : v.get(index-1), xmlName, child);
v.add(index,child);
}
代码示例来源:origin: eclipse-ee4j/glassfish
public void add(int index, Object element) {
// update the master children list, as well as this view 'v'
Dom child = Dom.unwrap((ConfigBeanProxy) element);
dom.insertAfter( index==0 ? null : v.get(index-1), xmlName, child);
v.add(index,child);
}
代码示例来源:origin: org.glassfish.hk2/config
public void add(int index, Object element) {
// update the master children list, as well as this view 'v'
Dom child = Dom.unwrap((ConfigBeanProxy) element);
dom.insertAfter( index==0 ? null : v.get(index-1), xmlName, child);
v.add(index,child);
}
代码示例来源:origin: com.sun.enterprise/config
public void add(int index, Object element) {
// update the master children list, as well as this view 'v'
Dom child = Dom.unwrap((ConfigBeanProxy) element);
dom.insertAfter( index==0 ? null : v.get(index-1), xmlName, child);
v.add(index,child);
}
内容来源于网络,如有侵权,请联系作者删除!