本文整理了Java中org.jvnet.hk2.config.Dom.domNodeByTypeElements()
方法的一些代码示例,展示了Dom.domNodeByTypeElements()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Dom.domNodeByTypeElements()
方法的具体详情如下:
包路径:org.jvnet.hk2.config.Dom
类名称:Dom
方法名:domNodeByTypeElements
[英]Picks up all node elements that are assignable to the given type, except those who are matched by other named elements in the model. Used to implement FromElement("").
[中]拾取可分配给给定类型的所有节点元素,但与模型中其他命名元素匹配的节点元素除外。用于实现FromElement(“”)。
代码示例来源:origin: javaee/glassfish
public <T> List<T> nodeByTypeElements(final Class<T> baseType) {
final List<Dom> elements = domNodeByTypeElements(baseType);
return new AbstractList<T>() {
public T get(int index) {
return baseType.cast(elements.get(index).get());
}
public int size() {
return elements.size();
}
};
}
代码示例来源:origin: javaee/glassfish
final Class itemType = Types.erasure(Types.getTypeArgument(returnType,0));
final List<Dom> v = ("*".equals(xmlName)?dom.domNodeByTypeElements(itemType):dom.nodeElements(xmlName));
代码示例来源:origin: javaee/glassfish
? parent.domNodeByTypeElements(thisview.getProxyType())
: new ArrayList<Dom>();
代码示例来源:origin: org.glassfish.hk2/config
public <T> List<T> nodeByTypeElements(final Class<T> baseType) {
final List<Dom> elements = domNodeByTypeElements(baseType);
return new AbstractList<T>() {
public T get(int index) {
return baseType.cast(elements.get(index).get());
}
public int size() {
return elements.size();
}
};
}
代码示例来源:origin: org.glassfish.hk2/hk2-config
public <T> List<T> nodeByTypeElements(final Class<T> baseType) {
final List<Dom> elements = domNodeByTypeElements(baseType);
return new AbstractList<T>() {
public T get(int index) {
return baseType.cast(elements.get(index).get());
}
public int size() {
return elements.size();
}
};
}
代码示例来源:origin: com.sun.enterprise/config
public <T> List<T> nodeByTypeElements(final Class<T> baseType) {
final List<Dom> elements = domNodeByTypeElements(baseType);
return new AbstractList<T>() {
public T get(int index) {
return baseType.cast(elements.get(index).get());
}
public int size() {
return elements.size();
}
};
}
代码示例来源:origin: eclipse-ee4j/glassfish
public <T> List<T> nodeByTypeElements(final Class<T> baseType) {
final List<Dom> elements = domNodeByTypeElements(baseType);
return new AbstractList<T>() {
public T get(int index) {
return baseType.cast(elements.get(index).get());
}
public int size() {
return elements.size();
}
};
}
代码示例来源:origin: eclipse-ee4j/glassfish
final Class itemType = Types.erasure(Types.getTypeArgument(returnType,0));
final List<Dom> v = ("*".equals(xmlName)?dom.domNodeByTypeElements(itemType):dom.nodeElements(xmlName));
代码示例来源:origin: org.glassfish.hk2/config
final Class itemType = Types.erasure(Types.getTypeArgument(returnType,0));
final List<Dom> v = ("*".equals(xmlName)?dom.domNodeByTypeElements(itemType):dom.nodeElements(xmlName));
代码示例来源:origin: com.sun.enterprise/config
final Class itemType = Types.erasure(Types.getTypeArgument(returnType,0));
final List<Dom> v = ("*".equals(xmlName)?dom.domNodeByTypeElements(itemType):dom.nodeElements(xmlName));
代码示例来源:origin: org.glassfish.hk2/hk2-config
final Class itemType = Types.erasure(Types.getTypeArgument(returnType,0));
final List<Dom> v = ("*".equals(xmlName)?dom.domNodeByTypeElements(itemType):dom.nodeElements(xmlName));
代码示例来源:origin: org.glassfish.hk2/hk2-config
? parent.domNodeByTypeElements(thisview.getProxyType())
: new ArrayList<Dom>();
代码示例来源:origin: eclipse-ee4j/glassfish
? parent.domNodeByTypeElements(thisview.getProxyType())
: new ArrayList<Dom>();
代码示例来源:origin: org.glassfish.hk2/config
parent.domNodeByTypeElements(thisview.getProxyType());
代码示例来源:origin: com.sun.enterprise/config
parent.domNodeByTypeElements(thisview.getProxyType());
内容来源于网络,如有侵权,请联系作者删除!