| java.lang.Object org.apache.axis2.jaxws.message.util.impl.SAAJConverterImpl
SAAJConverterImpl | public class SAAJConverterImpl implements SAAJConverter(Code) | | SAAJConverterImpl Provides an conversion methods between OM<->SAAJ
|
Inner Class :protected class NameCreator | |
Method Summary | |
protected void | addAttributes(NameCreator nc, SOAPElement element, XMLStreamReader reader) | protected SOAPElement | buildSOAPTree(NameCreator nc, SOAPElement root, SOAPElement parent, XMLStreamReader reader, boolean quitAtBody) Build SOAPTree Either the root or the parent is null. | protected SOAPElement | createElement(SOAPElement parent, QName qName) | protected SOAPElement | createElementFromTag(NameCreator nc, SOAPElement parent, XMLStreamReader reader) | public MessageFactory | createMessageFactory(String namespace) | public org.apache.axiom.soap.SOAPEnvelope | toOM(SOAPEnvelope saajEnvelope) | public OMElement | toOM(SOAPElement soapElement) | public SOAPEnvelope | toSAAJ(org.apache.axiom.soap.SOAPEnvelope omEnvelope) | public SOAPElement | toSAAJ(OMElement omElement, SOAPElement parent) | public SOAPElement | toSAAJ(OMElement omElement, SOAPElement parent, SOAPFactory sf) | protected void | updateTagData(NameCreator nc, SOAPElement element, XMLStreamReader reader, boolean newElement) |
SAAJConverterImpl | SAAJConverterImpl()(Code) | | Constructed via SAAJConverterFactory
|
addAttributes | protected void addAttributes(NameCreator nc, SOAPElement element, XMLStreamReader reader) throws SOAPException(Code) | | add attributes
Parameters: NameCreator - nc Parameters: element - SOAPElement which is the target of the new attributes Parameters: reader - XMLStreamReader whose cursor is at START_ELEMENT throws: SOAPException - |
buildSOAPTree | protected SOAPElement buildSOAPTree(NameCreator nc, SOAPElement root, SOAPElement parent, XMLStreamReader reader, boolean quitAtBody) throws WebServiceException(Code) | | Build SOAPTree Either the root or the parent is null. If the root is null, a new element is
created under the parent using information from the reader If the parent is null, the existing
root is updated with the information from the reader
Parameters: nc - NameCreator Parameters: root - SOAPElement (the element that represents the data in the reader) Parameters: parent - (the parent of the element represented by the reader) Parameters: reader - XMLStreamReader. the first START_ELEMENT matches the root Parameters: quitAtBody - - true if quit reading after the body START_ELEMENT |
createElementFromTag | protected SOAPElement createElementFromTag(NameCreator nc, SOAPElement parent, XMLStreamReader reader) throws SOAPException(Code) | | Create SOAPElement from the current tag data
Parameters: nc - NameCreator Parameters: parent - SOAPElement for the new SOAPElement Parameters: reader - XMLStreamReader whose cursor is at the START_ELEMENT |
updateTagData | protected void updateTagData(NameCreator nc, SOAPElement element, XMLStreamReader reader, boolean newElement) throws SOAPException(Code) | | update the tag data of the SOAPElement
Parameters: NameCreator - nc Parameters: element - SOAPElement Parameters: reader - XMLStreamReader whose cursor is at START_ELEMENT |
|
|