|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SaajImplementation
Forms a bridge between the SOAP class hierarchy and a specific version of SAAJ.
Method Summary | |
---|---|
AttachmentPart |
addAttachmentPart(SOAPMessage message,
DataHandler dataHandler)
Adds an attachment to the given message. |
void |
addAttribute(SOAPElement element,
QName name,
String value)
Adds an attribute to the specified element. |
DetailEntry |
addDetailEntry(Detail detail,
QName name)
Adds a detail entry to the given detail. |
SOAPFault |
addFault(SOAPBody body,
QName faultCode,
String faultString,
Locale locale)
Adds a fault to the given body. |
Detail |
addFaultDetail(SOAPFault fault)
Adds a fault detail for the given fault. |
SOAPHeaderElement |
addHeaderElement(SOAPHeader header,
QName name)
Adds a header element to the given header. |
SOAPHeaderElement |
addNotUnderstoodHeaderElement(SOAPHeader header,
QName name)
Adds a not understood header element to the given header. |
void |
addTextNode(DetailEntry detailEntry,
String text)
|
SOAPHeaderElement |
addUpgradeHeaderElement(SOAPHeader header,
String[] supportedSoapUris)
Adds a upgrade header element to the given header. |
void |
appendFaultSubcode(SOAPFault fault,
QName subcode)
Adds a fault sub code. |
Iterator |
examineAllHeaderElements(SOAPHeader header)
Returns all header elements. |
Iterator |
examineMustUnderstandHeaderElements(SOAPHeader header,
String actorOrRole)
Returns all header elements for which the must understand attribute is true, given the actor or role. |
String |
getActorOrRole(SOAPHeaderElement headerElement)
Returns the SOAP 1.1 actor or SOAP 1.2 role attribute for the given header element. |
Iterator |
getAllAttibutes(SOAPElement element)
Returns all attributes as an iterator of QNames |
Iterator |
getAttachment(SOAPMessage message,
MimeHeaders mimeHeaders)
Returns an iteration over all attachments in the message with the given headers. |
Iterator |
getAttachments(SOAPMessage message)
Returns an iteration over all attachments in the message. |
String |
getAttributeValue(SOAPElement element,
QName name)
Returns the attribute value * |
SOAPBody |
getBody(SOAPEnvelope envelope)
Returns the body of the given envelope. |
Iterator |
getDetailEntries(Detail detail)
Returns an iteration over all detail entries. |
SOAPEnvelope |
getEnvelope(SOAPMessage message)
Returns the envelope of the given message. |
SOAPFault |
getFault(SOAPBody body)
Returns the fault for the given body, if any. |
String |
getFaultActor(SOAPFault fault)
Returns the actor for the given fault. |
QName |
getFaultCode(SOAPFault fault)
Returns the fault code for the given fault. |
Detail |
getFaultDetail(SOAPFault fault)
Returns the fault detail for the given fault. |
String |
getFaultNode(SOAPFault fault)
Returns the fault node. |
String |
getFaultReasonText(SOAPFault fault,
Locale locale)
Returns the fault reason text. |
String |
getFaultRole(SOAPFault fault)
Returns the fault role. |
String |
getFaultString(SOAPFault fault)
Returns the fault string for the given fault. |
Locale |
getFaultStringLocale(SOAPFault fault)
Returns the fault string language for the given fault. |
Iterator |
getFaultSubcodes(SOAPFault fault)
Returns the fault sub code. |
SOAPElement |
getFirstBodyElement(SOAPBody body)
Returns the first child element of the given body. |
SOAPHeader |
getHeader(SOAPEnvelope envelope)
Returns the header of the given envelope. |
MimeHeaders |
getMimeHeaders(SOAPMessage message)
Returns the MIME headers of the message. |
boolean |
getMustUnderstand(SOAPHeaderElement headerElement)
Gets the must understand attribute for the given header element. |
QName |
getName(SOAPElement element)
Returns the name of the given element. |
Result |
getResult(SOAPElement element)
Returns the writable Result of the given element. |
Source |
getSource(SOAPElement element)
Returns the readable Source of the given element. |
String |
getText(SOAPElement element)
Returns the text of the given element |
boolean |
hasFault(SOAPBody body)
Returns true if the body has a fault, false otherwise. |
void |
removeAttribute(SOAPElement element,
QName name)
Removes an attribute from the specified element. |
void |
removeContents(SOAPElement element)
Removes the contents (i.e. children) of the element. |
void |
setActorOrRole(SOAPHeaderElement headerElement,
String actorOrRole)
Sets the SOAP 1.1 actor or SOAP 1.2 role attribute for the given header element. |
void |
setFaultActor(SOAPFault fault,
String actorOrRole)
Sets the actor for the given fault. |
void |
setFaultNode(SOAPFault fault,
String uri)
Sets the fault node. |
void |
setFaultReasonText(SOAPFault fault,
Locale locale,
String text)
Sets the fault reason text. |
void |
setFaultRole(SOAPFault fault,
String role)
Sets the fault role. |
void |
setMustUnderstand(SOAPHeaderElement headerElement,
boolean mustUnderstand)
Sets the must understand attribute for the given header element. |
void |
setText(SOAPElement element,
String content)
Returns the text of the given element |
void |
writeTo(SOAPMessage message,
OutputStream outputStream)
Writes the given message to the given stream. |
Method Detail |
---|
QName getName(SOAPElement element)
Source getSource(SOAPElement element)
Source
of the given element.
Result getResult(SOAPElement element)
Result
of the given element.
String getText(SOAPElement element)
void setText(SOAPElement element, String content) throws SOAPException
SOAPException
void addAttribute(SOAPElement element, QName name, String value) throws SOAPException
SOAPException
void removeAttribute(SOAPElement element, QName name) throws SOAPException
SOAPException
String getAttributeValue(SOAPElement element, QName name) throws SOAPException
SOAPException
Iterator getAllAttibutes(SOAPElement element)
SOAPEnvelope getEnvelope(SOAPMessage message) throws SOAPException
SOAPException
SOAPHeader getHeader(SOAPEnvelope envelope) throws SOAPException
SOAPException
SOAPBody getBody(SOAPEnvelope envelope) throws SOAPException
SOAPException
SOAPHeaderElement addHeaderElement(SOAPHeader header, QName name) throws SOAPException
SOAPException
Iterator examineAllHeaderElements(SOAPHeader header)
Iterator examineMustUnderstandHeaderElements(SOAPHeader header, String actorOrRole)
String getActorOrRole(SOAPHeaderElement headerElement)
void setActorOrRole(SOAPHeaderElement headerElement, String actorOrRole)
boolean getMustUnderstand(SOAPHeaderElement headerElement)
void setMustUnderstand(SOAPHeaderElement headerElement, boolean mustUnderstand)
boolean hasFault(SOAPBody body)
true
if the body has a fault, false
otherwise.
SOAPFault getFault(SOAPBody body)
SOAPFault addFault(SOAPBody body, QName faultCode, String faultString, Locale locale) throws SOAPException
SOAPException
QName getFaultCode(SOAPFault fault)
String getFaultActor(SOAPFault fault)
void setFaultActor(SOAPFault fault, String actorOrRole) throws SOAPException
SOAPException
String getFaultString(SOAPFault fault)
Locale getFaultStringLocale(SOAPFault fault)
DetailEntry addDetailEntry(Detail detail, QName name) throws SOAPException
SOAPException
Detail getFaultDetail(SOAPFault fault)
Detail addFaultDetail(SOAPFault fault) throws SOAPException
SOAPException
void addTextNode(DetailEntry detailEntry, String text) throws SOAPException
SOAPException
Iterator getDetailEntries(Detail detail)
SOAPElement getFirstBodyElement(SOAPBody body)
void removeContents(SOAPElement element)
void writeTo(SOAPMessage message, OutputStream outputStream) throws SOAPException, IOException
SOAPException
IOException
MimeHeaders getMimeHeaders(SOAPMessage message)
Iterator getAttachments(SOAPMessage message)
Iterator getAttachment(SOAPMessage message, MimeHeaders mimeHeaders)
AttachmentPart addAttachmentPart(SOAPMessage message, DataHandler dataHandler)
SOAPHeaderElement addNotUnderstoodHeaderElement(SOAPHeader header, QName name) throws SOAPException
SOAPException
SOAPHeaderElement addUpgradeHeaderElement(SOAPHeader header, String[] supportedSoapUris) throws SOAPException
SOAPException
String getFaultRole(SOAPFault fault)
void setFaultRole(SOAPFault fault, String role) throws SOAPException
SOAPException
Iterator getFaultSubcodes(SOAPFault fault)
void appendFaultSubcode(SOAPFault fault, QName subcode) throws SOAPException
SOAPException
String getFaultNode(SOAPFault fault)
void setFaultNode(SOAPFault fault, String uri) throws SOAPException
SOAPException
String getFaultReasonText(SOAPFault fault, Locale locale) throws SOAPException
SOAPException
void setFaultReasonText(SOAPFault fault, Locale locale, String text) throws SOAPException
SOAPException
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |