1 16 package org.apache.axis2.saaj; 17 18 import org.apache.axis2.soap.SOAPHeaderBlock; 19 20 import javax.xml.soap.SOAPHeaderElement ; 21 22 28 public class SOAPHeaderElementImpl extends SOAPElementImpl implements 29 SOAPHeaderElement { 30 31 34 SOAPHeaderBlock omHeaderElement; 35 36 40 public SOAPHeaderElementImpl(org.apache.axis2.soap.SOAPHeaderBlock headerElement){ 41 super(headerElement); 42 this.omHeaderElement = headerElement; 43 } 44 45 51 public void setActor(String actorURI) { 52 53 omHeaderElement.setRole(actorURI); 54 } 55 56 62 public String getActor() { 63 64 return omHeaderElement.getRole(); 65 } 66 67 73 public void setMustUnderstand(boolean mustUnderstand) { 74 75 omHeaderElement.setMustUnderstand(mustUnderstand); 76 } 77 78 84 public boolean getMustUnderstand() { 85 86 return omHeaderElement.getMustUnderstand(); 87 } 88 89 } 90 | Popular Tags |