本文整理了Java中javax.xml.soap.SOAPElement.getAttributeNode()
方法的一些代码示例,展示了SOAPElement.getAttributeNode()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SOAPElement.getAttributeNode()
方法的具体详情如下:
包路径:javax.xml.soap.SOAPElement
类名称:SOAPElement
方法名:getAttributeNode
暂无
代码示例来源:origin: com.hynnet/xws-security
public Attr getAttributeNode(String arg0) {
return delegateElement.getAttributeNode(arg0);
}
代码示例来源:origin: com.hynnet/xws-security
public Attr getAttributeNode(String name) {
return delegateElement.getAttributeNode(name);
}
代码示例来源:origin: com.hynnet/xws-security
public Attr getAttributeNode(String arg0) {
return delegateElement.getAttributeNode(arg0);
}
代码示例来源:origin: com.hynnet/xws-security
public Attr getAttributeNode(String arg0) {
return delegateHeader.getAttributeNode(arg0);
}
代码示例来源:origin: org.jboss.ws.native/jbossws-native-core
private void removeNSAttribute(SOAPElement soapElement, List<String> prefixes)
{
Iterator ite2 = soapElement.getChildElements();
while (ite2 != null && ite2.hasNext())
{
Object obj = ite2.next();
if (obj instanceof SOAPElement)
{
SOAPElement ele = (SOAPElement) obj;
removeNSAttribute(ele, prefixes);
for (String str : prefixes)
{
Attr attr = ele.getAttributeNode("xmlns:" + str);
if (attr != null)
ele.removeAttribute("xmlns:" + str);
}
}
}
}
代码示例来源:origin: com.hynnet/xws-security
for (int i=0; i < len; i++) {
SOAPElement elem = (SOAPElement)assertions.item(i);
if(elem.getAttributeNode("ID")!= null){
assertionId = elem.getAttribute(MessageConstants.SAML_ID_LNAME);
}else{
内容来源于网络,如有侵权,请联系作者删除!