|
jBrokerTM Web 2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | 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.
| Method Summary | |
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 |
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 |
| 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 readIOException - 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 readIOException - 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 readIOException - 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 readIOException - 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 readIOException - 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 readIOException - 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 readIOException - 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 readIOException - 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 readIOException - 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 readIOException - 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 readIOException - if an I/O exception occurred during read
public Attributes getAttributes()
throws IOException
Attributes objectIOException - if an I/O exception occurred during read
public QName getQName()
throws IOException
QName object representing the last object readIOException - if an I/O exception occurred during read
public QName peek()
throws IOException
QName of next objectIOException - 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 usepublic 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 readIOException - if an I/O exception while reading attachment
|
jBrokerTM Web 2.0 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||