|
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 read
public byte readByte(String name)
throws IOException
name - of the byte to read
IOException - if an I/O exception occurred during read
public char readChar()
throws IOException
IOException - if an I/O exception occurred during read
public char readChar(String name)
throws IOException
name - of the char to read
IOException - if an I/O exception occurred during read
public boolean readBoolean()
throws IOException
IOException - if an I/O exception occurred during read
public boolean readBoolean(String name)
throws IOException
name - of the boolean to read
IOException - if an I/O exception occurred during read
public int readInt()
throws IOException
IOException - if an I/O exception occurred during read
public int readInt(String name)
throws IOException
name - of the integer to read
IOException - if an I/O exception occurred during read
public short readShort()
throws IOException
IOException - if an I/O exception occurred during read
public short readShort(String name)
throws IOException
name - of the short to read
IOException - if an I/O exception occurred during read
public long readLong()
throws IOException
IOException - if an I/O exception occurred during read
public long readLong(String name)
throws IOException
name - of the long to read
IOException - if an I/O exception occurred during read
public float readFloat()
throws IOException
IOException - if an I/O exception occurred during read
public float readFloat(String name)
throws IOException
name - of the float to read
IOException - if an I/O exception occurred during read
public double readDouble()
throws IOException
IOException - if an I/O exception occurred during read
public double readDouble(String name)
throws IOException
name - of the double to read
IOException - if an I/O exception occurred during read
public Object readObject()
throws IOException
IOException - if an I/O exception occurred during read
public Object readObject(Class expectedType)
throws IOException
expectedType - the expected type of the object to read
IOException - if an I/O exception occurred during read
public 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 read
public 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 read
public 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 read
public Attributes getAttributes()
throws IOException
Attributes object
IOException - if an I/O exception occurred during read
public QName getQName()
throws IOException
QName object representing the last object read
IOException - if an I/O exception occurred during read
public QName peek()
throws IOException
QName of next object
IOException - if an I/O exception occurred during read
public 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 attachment
public void setMixedContent(boolean mixed)
throws IOException
mixed - boolean to specify mixed content mode
IOException - if an I/O exception occurs
public 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 | |||||||||