本文整理了Java中javax.xml.stream.util.StreamReaderDelegate.getAttributeName()
方法的一些代码示例,展示了StreamReaderDelegate.getAttributeName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。StreamReaderDelegate.getAttributeName()
方法的具体详情如下:
包路径:javax.xml.stream.util.StreamReaderDelegate
类名称:StreamReaderDelegate
方法名:getAttributeName
暂无
代码示例来源:origin: apache/cxf
public QName getAttributeName(int index) {
if (first && index == 0) {
return new QName(Constants.URI_2001_SCHEMA_XSI, "type");
}
return super.getAttributeName(index - offset);
}
代码示例来源:origin: com.sun.xml.ws/jaxws-rt
@Override
public QName getAttributeName(int index) {
if(state==1 && index==super.getAttributeCount()) {
return new QName(AddressingVersion.W3C.nsUri, IS_REFERENCE_PARAMETER, "wsa");
} else {
return super.getAttributeName(index);
}
}
代码示例来源:origin: org.apache.sis.core/sis-utility
/** Forwards the call, then replaces the namespace URI if needed. */
@Override
public QName getAttributeName(final int index) {
return toImpl(super.getAttributeName(index));
}
代码示例来源:origin: org.apache.ws.commons.axiom/testutils
@Override
public QName getAttributeName(int index) {
return super.getAttributeName(getIndex(index));
}
代码示例来源:origin: javaee/metro-jax-ws
@Override
public QName getAttributeName(int index) {
if(state==1 && index==super.getAttributeCount()) {
return new QName(AddressingVersion.W3C.nsUri, IS_REFERENCE_PARAMETER, "wsa");
} else {
return super.getAttributeName(index);
}
}
代码示例来源:origin: com.sun.xml.ws/rt
@Override
public QName getAttributeName(int index) {
if(state==1 && index==super.getAttributeCount()) {
return new QName(AddressingVersion.W3C.nsUri, IS_REFERENCE_PARAMETER, "wsa");
} else {
return super.getAttributeName(index);
}
}
代码示例来源:origin: apache/cxf
public QName getAttributeName(int index) {
return super.getAttributeName(mapIdx(index));
}
代码示例来源:origin: org.apache.cxf/cxf-tools-wsdlto-databinding-jaxb
public QName getAttributeName(int index) {
return super.getAttributeName(mapIdx(index));
}
代码示例来源:origin: apache/cxf
public QName getAttributeName(int index) {
return super.getAttributeName(mapIdx(index));
}
代码示例来源:origin: org.apache.cxf/cxf-rt-frontend-simple
public QName getAttributeName(int index) {
return super.getAttributeName(mapIdx(index));
}
代码示例来源:origin: org.apache.ws.commons.axiom/testutils
private int getIndex(int index) {
if (indexMap == null) {
int n = super.getAttributeCount();
indexMap = new int[n];
SortedMap<String,Integer> map = new TreeMap<>();
for (int i=0; i<n; i++) {
map.put(super.getAttributeName(i).toString(), i);
}
int newIndex = 0;
for (int orgIndex : map.values()) {
indexMap[newIndex++] = orgIndex;
}
}
return indexMap[index];
}
内容来源于网络,如有侵权,请联系作者删除!