javax.xml.soap.SOAPElement.getAttributeNode()方法的使用及代码示例

x33g5p2x  于2022-01-30 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(98)

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

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{

相关文章

微信公众号

最新文章

更多