|
Novell exteNd Web Services SDK API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
The XML RPC Output Stream. The output stream is used by marshalers to write data to the underlying XML buffer.
| Method Summary | |
Map |
_getProperties()
Get stream properties |
InputStream |
createInputStream()
Create input stream with the same data |
InputStream |
createInputStream(Reader reader,
Map mimeParts)
Create input stream with mime parts |
Reader |
createInputStreamReader()
Create a standard java.io.Reader with the same data |
String |
getEncodingStyleURI()
Get the current Encoding Style |
String |
getSchemaURI()
Get the XML Schema URI |
boolean |
isDocument()
Determine whether stream is document oriented |
String |
setEncodingStyleURI(String encodingStyleURI)
Set the Encoding Style on the stream |
int |
size()
Get the number of bytes written |
byte[] |
toByteArray()
Get the contents of the stream as byte[]. |
void |
writeAttachment(Object mimeObject,
String nsuri,
String name,
String contentType)
Write MIME attachment |
void |
writeBoolean(boolean b)
Write a boolean |
void |
writeBoolean(boolean b,
String name)
Write a boolean with the given name |
void |
writeByte(byte b)
Write a byte |
void |
writeByte(byte b,
String name)
Write a byte with the given name |
void |
writeChar(char c)
Write a char. |
void |
writeChar(char c,
String name)
Write a char with the given name |
void |
writeContent(String text)
Write content of the tag |
void |
writeDouble(double d)
Write a double |
void |
writeDouble(double d,
String name)
Write a double with the given name |
void |
writeFloat(float f)
Write a float |
void |
writeFloat(float f,
String name)
Write a float with the given name |
void |
writeInt(int i)
Write an int |
void |
writeInt(int i,
String name)
Write an int with the given name |
void |
writeLong(long l)
Write a long |
void |
writeLong(long l,
String name)
Write a long with the given name |
void |
writeObject(Object o)
Write object with the default encoding style |
void |
writeObject(Object o,
String name)
Deprecated. as of jBrokerWeb 2.1 |
void |
writeObject(Object o,
String namespace,
String localName)
Write object for document-element |
void |
writeObject(Object o,
String elNamespace,
String elLocalName,
String typeNamespace,
String typeLocalName)
Write object as XML |
void |
writeShort(short s)
Write a short |
void |
writeShort(short s,
String name)
Write a short with the given name |
void |
writeTo(OutputStream os)
Write the contents of the stream to given output stream. |
| Method Detail |
public void writeContent(String text)
throws IOException
text - the text to write to stream
IOException - if an I/O exception occurred during write
public void writeByte(byte b)
throws IOException
b - the byte to write
IOException - if an I/O exception occurred during write
public void writeByte(byte b,
String name)
throws IOException
b - the byte to writename - name of byte parameter
IOException - if an I/O exception occurred during write
public void writeChar(char c)
throws IOException
c - the char to write
IOException - if an I/O exception occurred during write
public void writeChar(char c,
String name)
throws IOException
c - the char to writename - name of char parameter
IOException - if an I/O exception occurred during write
public void writeBoolean(boolean b)
throws IOException
b - the boolean to write
IOException - if an I/O exception occurred during write
public void writeBoolean(boolean b,
String name)
throws IOException
b - the boolean to writename - name of boolean parameter
IOException - if an I/O exception occurred during write
public void writeInt(int i)
throws IOException
i - the int to write
IOException - if an I/O exception occurred during write
public void writeInt(int i,
String name)
throws IOException
i - the int to writename - name of int parameter
IOException - if an I/O exception occurred during write
public void writeShort(short s)
throws IOException
s - the short to write
IOException - if an I/O exception occurred during write
public void writeShort(short s,
String name)
throws IOException
s - the short to writename - name of short parameter
IOException - if an I/O exception occurred during write
public void writeLong(long l)
throws IOException
l - the long to write
IOException - if an I/O exception occurred during write
public void writeLong(long l,
String name)
throws IOException
l - the long to writename - name of long parameter
IOException - if an I/O exception occurred during write
public void writeFloat(float f)
throws IOException
f - the float to write
IOException - if an I/O exception occurred during write
public void writeFloat(float f,
String name)
throws IOException
f - the float to writename - name of float parameter
IOException - if an I/O exception occurred during write
public void writeDouble(double d)
throws IOException
d - the double to write
IOException - if an I/O exception occurred during write
public void writeDouble(double d,
String name)
throws IOException
d - the double to writename - name of double parameter
IOException - if an I/O exception occurred during write
public void writeTo(OutputStream os)
throws IOException
os - the output stream to write to
IOException - if an I/O exception occurred during write
public byte[] toByteArray()
throws IOException
IOException - if an I/O exception occurred
public void writeObject(Object o)
throws IOException
o - the object to write
IOException - if an I/O exception occurred during write
public void writeObject(Object o,
String name)
throws IOException
o - the object to writename - name of object parameter
IOException - if an I/O exception occurred during write
public void writeObject(Object o,
String namespace,
String localName)
throws IOException
o - the object to writenamespace - namespace of object parameterlocalName - local name of object parameter
IOException - if an I/O exception occurred during write
public void writeObject(Object o,
String elNamespace,
String elLocalName,
String typeNamespace,
String typeLocalName)
throws IOException
o - the object to writeelNamespace - namespace of the element to writeelLocalName - local name of the element to writetypeNamespace - namespace of object's xml typetypeLocalName - local name of object's xml type
IOException - if an I/O exception occurred during writepublic String setEncodingStyleURI(String encodingStyleURI)
encodingStyleURI - the new Encoding Style to use
public String getEncodingStyleURI()
public String getSchemaURI()
public int size()
throws IOException
IOException - if an I/O exception occurred during writepublic boolean isDocument()
public InputStream createInputStream()
throws IOException
IOException - if an I/O exception occurred during conversion
public InputStream createInputStream(Reader reader,
Map mimeParts)
throws IOException
reader - reader of the root soap messagemimeParts - Map of readers for every mime part
IOException - if an I/O exception occurred during conversion
public Reader createInputStreamReader()
throws IOException
java.io.Reader with the same data
IOException - if an I/O exception occurred during conversion
public void writeAttachment(Object mimeObject,
String nsuri,
String name,
String contentType)
throws IOException
mimeObject - MIME attachment objectnsuri - namespace uri of the elementname - local name of the elementcontentType - content-type of the MIME
IOException - if an I/O exception while writingpublic Map _getProperties()
Map with stream properties
|
Novell exteNd Web Services SDK API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||