|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.ObjectOutputStream.PutField rice.p2p.util.XMLObjectOutputStream.PutField
This class is an implementation of PutField which is compatible with the XMLObjectOutputStream. It works in the same manner as the ObjectInputStream.PutField.
Field Summary | |
protected java.util.Hashtable |
objects
DESCRIBE THE FIELD |
protected java.util.Hashtable |
primitives
DESCRIBE THE FIELD |
Constructor Summary | |
XMLObjectOutputStream.PutField()
|
Method Summary | |
protected boolean |
getBoolean(java.lang.String name)
Gets the Boolean attribute of the PutField object |
protected byte |
getByte(java.lang.String name)
Gets the Byte attribute of the PutField object |
protected char |
getChar(java.lang.String name)
Gets the Char attribute of the PutField object |
protected double |
getDouble(java.lang.String name)
Gets the Double attribute of the PutField object |
protected float |
getFloat(java.lang.String name)
Gets the Float attribute of the PutField object |
protected int |
getInt(java.lang.String name)
Gets the Int attribute of the PutField object |
protected long |
getLong(java.lang.String name)
Gets the Long attribute of the PutField object |
protected java.lang.Object |
getObject(java.lang.String name)
Gets the Object attribute of the PutField object |
protected java.lang.String[] |
getObjects()
Gets the Objects attribute of the PutField object |
protected java.lang.String[] |
getPrimitives()
Gets the Primitives attribute of the PutField object |
protected short |
getShort(java.lang.String name)
Gets the Short attribute of the PutField object |
void |
put(java.lang.String name,
boolean value)
DESCRIBE THE METHOD |
void |
put(java.lang.String name,
byte value)
DESCRIBE THE METHOD |
void |
put(java.lang.String name,
char value)
DESCRIBE THE METHOD |
void |
put(java.lang.String name,
double value)
DESCRIBE THE METHOD |
void |
put(java.lang.String name,
float value)
DESCRIBE THE METHOD |
void |
put(java.lang.String name,
int value)
DESCRIBE THE METHOD |
void |
put(java.lang.String name,
long value)
DESCRIBE THE METHOD |
void |
put(java.lang.String name,
java.lang.Object value)
DESCRIBE THE METHOD |
void |
put(java.lang.String name,
short value)
DESCRIBE THE METHOD |
void |
write(java.io.ObjectOutput output)
Deprecated. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected java.util.Hashtable primitives
protected java.util.Hashtable objects
Constructor Detail |
public XMLObjectOutputStream.PutField()
Method Detail |
protected java.lang.String[] getPrimitives()
protected java.lang.String[] getObjects()
protected java.lang.Object getObject(java.lang.String name)
name
- DESCRIBE THE PARAMETER
protected boolean getBoolean(java.lang.String name)
name
- DESCRIBE THE PARAMETER
protected byte getByte(java.lang.String name)
name
- DESCRIBE THE PARAMETER
protected char getChar(java.lang.String name)
name
- DESCRIBE THE PARAMETER
protected double getDouble(java.lang.String name)
name
- DESCRIBE THE PARAMETER
protected float getFloat(java.lang.String name)
name
- DESCRIBE THE PARAMETER
protected int getInt(java.lang.String name)
name
- DESCRIBE THE PARAMETER
protected long getLong(java.lang.String name)
name
- DESCRIBE THE PARAMETER
protected short getShort(java.lang.String name)
name
- DESCRIBE THE PARAMETER
public void put(java.lang.String name, boolean value)
name
- DESCRIBE THE PARAMETERvalue
- DESCRIBE THE PARAMETERpublic void put(java.lang.String name, byte value)
name
- DESCRIBE THE PARAMETERvalue
- DESCRIBE THE PARAMETERpublic void put(java.lang.String name, char value)
name
- DESCRIBE THE PARAMETERvalue
- DESCRIBE THE PARAMETERpublic void put(java.lang.String name, double value)
name
- DESCRIBE THE PARAMETERvalue
- DESCRIBE THE PARAMETERpublic void put(java.lang.String name, float value)
name
- DESCRIBE THE PARAMETERvalue
- DESCRIBE THE PARAMETERpublic void put(java.lang.String name, int value)
name
- DESCRIBE THE PARAMETERvalue
- DESCRIBE THE PARAMETERpublic void put(java.lang.String name, long value)
name
- DESCRIBE THE PARAMETERvalue
- DESCRIBE THE PARAMETERpublic void put(java.lang.String name, short value)
name
- DESCRIBE THE PARAMETERvalue
- DESCRIBE THE PARAMETERpublic void put(java.lang.String name, java.lang.Object value)
name
- DESCRIBE THE PARAMETERvalue
- DESCRIBE THE PARAMETERpublic void write(java.io.ObjectOutput output) throws java.io.IOException
output
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |