本文整理了Java中org.apache.axiom.soap.SOAPHeader.examineMustUnderstandHeaderBlocks()
方法的一些代码示例,展示了SOAPHeader.examineMustUnderstandHeaderBlocks()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。SOAPHeader.examineMustUnderstandHeaderBlocks()
方法的具体详情如下:
包路径:org.apache.axiom.soap.SOAPHeader
类名称:SOAPHeader
方法名:examineMustUnderstandHeaderBlocks
[英]Returns an iterator over all the SOAPHeaderBlock objects in this SOAPHeaderobject that have the specified role and that have a MustUnderstand attribute whose value is equivalent to true
.
[中]返回此SOAPHeaderobject中所有SOAPHeaderBlock对象的迭代器,这些对象具有指定的角色,并且具有值等于true
的MustUnderstand属性。
代码示例来源:origin: org.apache.axis2/axis2-saaj
/**
* Returns an <code>Iterator</code> over all the <code>SOAPHeaderElement</code> objects in this
* <code>SOAPHeader</code> object that have the specified actor and that have a MustUnderstand
* attribute whose value is equivalent to <code>true</code>.
*
* @param actor a <code>String</code> giving the URI of the actor for which to search
* @return an <code>Iterator</code> object over all the <code>SOAPHeaderElement</code> objects
* that contain the specified actor and are marked as MustUnderstand
*/
public Iterator examineMustUnderstandHeaderElements(String actor) {
Collection elements = new ArrayList();
for (Iterator iterator = omTarget.examineMustUnderstandHeaderBlocks(actor);
iterator.hasNext();) {
elements.add(toSAAJNode((org.w3c.dom.Node)iterator.next()));
}
return elements.iterator();
}
代码示例来源:origin: apache/axis2-java
/**
* Returns an <code>Iterator</code> over all the <code>SOAPHeaderElement</code> objects in this
* <code>SOAPHeader</code> object that have the specified actor and that have a MustUnderstand
* attribute whose value is equivalent to <code>true</code>.
*
* @param actor a <code>String</code> giving the URI of the actor for which to search
* @return an <code>Iterator</code> object over all the <code>SOAPHeaderElement</code> objects
* that contain the specified actor and are marked as MustUnderstand
*/
public Iterator examineMustUnderstandHeaderElements(String actor) {
Collection elements = new ArrayList();
for (Iterator iterator = omTarget.examineMustUnderstandHeaderBlocks(actor);
iterator.hasNext();) {
elements.add(toSAAJNode((org.w3c.dom.Node)iterator.next()));
}
return elements.iterator();
}
代码示例来源:origin: spring-projects/spring-ws
@Override
@SuppressWarnings("unchecked")
public Iterator<SoapHeaderElement> examineMustUnderstandHeaderElements(String role) {
try {
return new AxiomSoapHeaderElementIterator(getAxiomHeader().examineMustUnderstandHeaderBlocks(role));
}
catch (OMException ex) {
throw new AxiomSoapHeaderException(ex);
}
}
代码示例来源:origin: apache/servicemix-bundles
@Override
@SuppressWarnings("unchecked")
public Iterator<SoapHeaderElement> examineMustUnderstandHeaderElements(String role) {
try {
return new AxiomSoapHeaderElementIterator(getAxiomHeader().examineMustUnderstandHeaderBlocks(role));
}
catch (OMException ex) {
throw new AxiomSoapHeaderException(ex);
}
}
代码示例来源:origin: org.springframework.ws/spring-ws-core
@Override
@SuppressWarnings("unchecked")
public Iterator<SoapHeaderElement> examineMustUnderstandHeaderElements(String role) {
try {
return new AxiomSoapHeaderElementIterator(getAxiomHeader().examineMustUnderstandHeaderBlocks(role));
}
catch (OMException ex) {
throw new AxiomSoapHeaderException(ex);
}
}
代码示例来源:origin: org.springframework.ws/org.springframework.ws
@SuppressWarnings("unchecked")
public Iterator<SoapHeaderElement> examineMustUnderstandHeaderElements(String role) {
try {
return new AxiomSoapHeaderElementIterator(getAxiomHeader().examineMustUnderstandHeaderBlocks(role));
}
catch (OMException ex) {
throw new AxiomSoapHeaderException(ex);
}
}
内容来源于网络,如有侵权,请联系作者删除!