public final class RelatesToHeader extends StringHeader
| Modifier and Type | Field and Description |
|---|---|
protected String |
type |
name, valueEMPTY_ATTS| Constructor and Description |
|---|
RelatesToHeader(QName name,
String mid) |
RelatesToHeader(QName name,
String messageId,
String type) |
| Modifier and Type | Method and Description |
|---|---|
String |
getType() |
void |
writeTo(SOAPMessage saaj)
Writes out the header to the given SOAPMessage.
|
void |
writeTo(XMLStreamWriter w)
Writes out the header as a fragment.
|
getAttribute, getLocalPart, getNamespaceURI, readHeader, writeTogetAttribute, getRole, getStringContent, isIgnorable, isRelay, parseBool, readAsEPR, readAsJAXB, readAsJAXB, readAsJAXBpublic RelatesToHeader(QName name, String messageId, String type)
public RelatesToHeader(QName name, String mid)
public void writeTo(XMLStreamWriter w) throws XMLStreamException
HeaderwriteTo in interface HeaderwriteTo in class StringHeaderXMLStreamException - if the operation fails for some reason. This leaves the
writer to an undefined state.public void writeTo(SOAPMessage saaj) throws SOAPException
Header
Sometimes a Message needs to produce itself
as SOAPMessage, in which case each header needs
to turn itself into a header.
writeTo in interface HeaderwriteTo in class StringHeaderSOAPException - if the operation fails for some reason. This leaves the
writer to an undefined state.