org.jvnet.hk2.config.Dom.insertAfter()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.6k)|赞(0)|评价(0)|浏览(84)

本文整理了Java中org.jvnet.hk2.config.Dom.insertAfter()方法的一些代码示例,展示了Dom.insertAfter()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Dom.insertAfter()方法的具体详情如下:
包路径:org.jvnet.hk2.config.Dom
类名称:Dom
方法名:insertAfter

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);
}

相关文章

微信公众号

最新文章

更多