|
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 Input Stream. The input stream is used by marshalers to read data from the underlying XML buffer.
Field Summary | |
static int |
NEXT_ELEMENT
constant for next element |
static int |
SOAP_BODY
constant for SOAP:BODY element |
static int |
SOAP_HEADER
constant for SOAP:HEADER element |
Method Summary | |
void |
close()
Close the input stream and free resources. |
Attributes |
getAttributes()
Provides access to the list of attributes of the current XML element |
String |
getEncodingStyleURI()
Get the current Encoding Style |
QName |
getQName()
Get QName of the last object read. |
boolean |
isDocument()
Determine whether stream is document oriented |
QName |
peek()
Peek the QName of the next tag |
Object |
readAttachment(String nsuri,
String name,
Class javaType)
Read attachment Object |
boolean |
readBoolean()
Deprecated. As of JBroker Web 1.1, replaced by readBoolean(String name) |
boolean |
readBoolean(String name)
Read a boolean from the stream with name |
byte |
readByte()
Deprecated. As of JBroker Web 1.1, replaced by readByte(String) |
byte |
readByte(String name)
Read a byte from the stream with name |
char |
readChar()
Deprecated. As of JBroker Web 1.1, replaced by readChar(String name) |
char |
readChar(String name)
Read a char from the stream with name |
String |
readContent()
Get the content of the present tag |
double |
readDouble()
Deprecated. As of JBroker Web 1.1, replaced by readDouble(String name) |
double |
readDouble(String name)
Read a double from the stream with name |
float |
readFloat()
Deprecated. As of JBroker Web 1.1, replaced by readFloat(String name) |
float |
readFloat(String name)
Read a float from the stream with name |
int |
readInt()
Deprecated. As of JBroker Web 1.1, replaced by readInt(String name) |
int |
readInt(String name)
Read an integer from the stream with name |
long |
readLong()
Deprecated. As of JBroker Web 1.1, replaced by readLong(String name) |
long |
readLong(String name)
Read a long from the stream with name |
Object |
readObject()
Deprecated. As of JBroker Web 1.1, replaced by readObject(Class, String) |
Object |
readObject(Class expectedType)
Deprecated. As of JBroker Web 1.1, replaced by readObject(Class, String) |
Object |
readObject(Class expectedType,
String name)
Read an object from the stream with expected type and name |
Object |
readObject(Class expectedType,
String namespace,
String lname)
Read an object from the stream with expected type and QName |
Object |
readObject(Class expectedType,
String namespace,
String lname,
String typeNamespace,
String typeLocalName)
Read an object from the stream with expected type and QName |
short |
readShort()
Deprecated. As of JBroker Web 1.1, replaced by readShort(String name) |
short |
readShort(String name)
Read a short from the stream with name |
String |
setEncodingStyleURI(String encodingStyleURI)
Set the Encoding Style on the stream |
void |
setMixedContent(boolean mixed)
Set the mixed content mode for input stream |
Field Detail |
public static final int SOAP_BODY
public static final int SOAP_HEADER
public static final int NEXT_ELEMENT
Method Detail |
public byte readByte() throws IOException
IOException
- if an I/O exception occurred during readpublic byte readByte(String name) throws IOException
name
- of the byte to read
IOException
- if an I/O exception occurred during readpublic char readChar() throws IOException
IOException
- if an I/O exception occurred during readpublic char readChar(String name) throws IOException
name
- of the char to read
IOException
- if an I/O exception occurred during readpublic boolean readBoolean() throws IOException
IOException
- if an I/O exception occurred during readpublic boolean readBoolean(String name) throws IOException
name
- of the boolean to read
IOException
- if an I/O exception occurred during readpublic int readInt() throws IOException
IOException
- if an I/O exception occurred during readpublic int readInt(String name) throws IOException
name
- of the integer to read
IOException
- if an I/O exception occurred during readpublic short readShort() throws IOException
IOException
- if an I/O exception occurred during readpublic short readShort(String name) throws IOException
name
- of the short to read
IOException
- if an I/O exception occurred during readpublic long readLong() throws IOException
IOException
- if an I/O exception occurred during readpublic long readLong(String name) throws IOException
name
- of the long to read
IOException
- if an I/O exception occurred during readpublic float readFloat() throws IOException
IOException
- if an I/O exception occurred during readpublic float readFloat(String name) throws IOException
name
- of the float to read
IOException
- if an I/O exception occurred during readpublic double readDouble() throws IOException
IOException
- if an I/O exception occurred during readpublic double readDouble(String name) throws IOException
name
- of the double to read
IOException
- if an I/O exception occurred during readpublic Object readObject() throws IOException
IOException
- if an I/O exception occurred during readpublic Object readObject(Class expectedType) throws IOException
expectedType
- the expected type of the object to read
IOException
- if an I/O exception occurred during readpublic Object readObject(Class expectedType, String name) throws IOException
expectedType
- the expected type of the object to readname
- of the object to read
IOException
- if an I/O exception occurred during readpublic Object readObject(Class expectedType, String namespace, String lname) throws IOException
expectedType
- the expected type of the object to readnamespace
- the namespace of the object to readlname
- local name of the object to read
IOException
- if an I/O exception occurred during readpublic Object readObject(Class expectedType, String namespace, String lname, String typeNamespace, String typeLocalName) throws IOException
expectedType
- the expected type of the object to readtypeNamespace
- namespace of object's xml typetypeLocalName
- local name of object's xml type
IOException
- if an I/O exception occurred during readpublic Attributes getAttributes() throws IOException
Attributes
object
IOException
- if an I/O exception occurred during readpublic QName getQName() throws IOException
QName
object representing the last object read
IOException
- if an I/O exception occurred during readpublic QName peek() throws IOException
QName
of next object
IOException
- if an I/O exception occurred during readpublic String readContent() throws IOException
IOException
- if an I/O exception occurred during readpublic String setEncodingStyleURI(String encodingStyleURI)
encodingStyleURI
- the new Encoding Style to use
public String getEncodingStyleURI()
public boolean isDocument()
public Object readAttachment(String nsuri, String name, Class javaType) throws IOException
nsuri
- URI of the elementname
- name of the elementjavaType
- class of the mime to be read
IOException
- if an I/O exception while reading attachmentpublic void setMixedContent(boolean mixed) throws IOException
mixed
- boolean to specify mixed content mode
IOException
- if an I/O exception occurspublic void close() throws IOException
IOException
|
Novell exteNd Web Services SDK API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |