List of usage examples for javax.xml.soap SOAPHeaderElement getMustUnderstand
public boolean getMustUnderstand();
From source file:org.apache.axis.message.SOAPHeader.java
public Iterator examineMustUnderstandHeaderElements(String actor) { if (actor == null) return null; Vector result = new Vector(); List headers = getChildren(); if (headers != null) { for (int i = 0; i < headers.size(); i++) { SOAPHeaderElement she = (SOAPHeaderElement) headers.get(i); if (she.getMustUnderstand()) { String candidate = she.getActor(); if (actor.equals(candidate)) { result.add(headers.get(i)); }/* ww w .j a v a2 s .co m*/ } } } return result.iterator(); }