< prev index next >

src/java.xml.ws/share/classes/com/sun/xml/internal/ws/api/message/Header.java

Print this page

        

*** 99,109 **** * * <p> * specifically, this method has to perform the following tasks: * * <ul> ! * <li>If this header does not have <tt>mustUnderstand</tt> as "1" nor "true", * then this method must return true. * <li>Otherwise, check the role attribute (for SOAP 1.2) or the actor attribute (for SOAP 1.1). * When those attributes are absent, the default values have to be assumed. * See {@link #getRole(SOAPVersion)} for how the values are defaulted. * Now, see if the {@code roles} set contains the value. --- 99,109 ---- * * <p> * specifically, this method has to perform the following tasks: * * <ul> ! * <li>If this header does not have {@code mustUnderstand} as "1" nor "true", * then this method must return true. * <li>Otherwise, check the role attribute (for SOAP 1.2) or the actor attribute (for SOAP 1.1). * When those attributes are absent, the default values have to be assumed. * See {@link #getRole(SOAPVersion)} for how the values are defaulted. * Now, see if the {@code roles} set contains the value.
*** 298,308 **** * Sometimes a {@link Message} needs to produce SAX events, * and this method is necessary for headers to participate to it. * * <p> * A header is responsible for producing the SAX events for its part, ! * including <tt>startPrefixMapping</tt> and <tt>endPrefixMapping</tt>, * but not startDocument/endDocument. * * <p> * Note that SAX contract requires that any error that does NOT originate * from {@link ContentHandler} (meaning any parsing error and etc) must --- 298,308 ---- * Sometimes a {@link Message} needs to produce SAX events, * and this method is necessary for headers to participate to it. * * <p> * A header is responsible for producing the SAX events for its part, ! * including {@code startPrefixMapping} and {@code endPrefixMapping}, * but not startDocument/endDocument. * * <p> * Note that SAX contract requires that any error that does NOT originate * from {@link ContentHandler} (meaning any parsing error and etc) must
< prev index next >