| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.bea.wli.sb.sources.SAAJSource
public class SAAJSource
An implementation of Source that is backed by a SAAJ
 SOAPMessage object.  A SAAJSource is typically converted
 to and from MessageContextSource and MimeSource.
 
SOAPMessage object.  However, character-set encoding
 can be modified via the TransformOptions.CHARACTER_ENCODING
 options.
| Field Summary | 
|---|
| Fields inherited from interface com.bea.wli.sb.sources.Source | 
|---|
| DEFAULT_CHARACTER_SET_ENCODING | 
| Constructor Summary | |
|---|---|
| SAAJSource(javax.xml.soap.SOAPMessage message) | |
| Method Summary | |
|---|---|
|  String | getCharacterEncoding()Returns the character encoding of the message (do we need this?) | 
|  InputStream | getInputStream(TransformOptions options)Returns streaming byte-baseed representation of the Source's content. | 
|  javax.xml.soap.SOAPMessage | getSOAPMessage()Returns the underlying SOAPMessage. | 
|  void | writeTo(OutputStream os,
        TransformOptions options)Serializes the Source's content to a byte-based stream. | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public SAAJSource(javax.xml.soap.SOAPMessage message)
| Method Detail | 
|---|
public javax.xml.soap.SOAPMessage getSOAPMessage()
public String getCharacterEncoding()
public InputStream getInputStream(TransformOptions options)
                           throws IOException,
                                  TransformException
Source
getInputStream in interface Sourceoptions - Options used to affect the serialization
IOException
TransformException
public void writeTo(OutputStream os,
                    TransformOptions options)
             throws IOException,
                    TransformException
Source
writeTo in interface Sourceos - the OutputStream to which serialized content will be writtenoptions - TransformOptions used to affect the serialization
IOException
TransformException| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||