|
JBoss Marshalling 1.4.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.marshalling.util.FieldPutter
public abstract class FieldPutter

Base class for a field "putter" which represents a field's data cell.
| Constructor Summary | |
|---|---|
protected |
FieldPutter()
Construct a new instance. |
| Method Summary | |
|---|---|
boolean |
getBoolean()
Get the boolean value of this field. |
byte |
getByte()
Get the byte value of this field. |
char |
getChar()
Get the character value of this field. |
double |
getDouble()
Get the double value of this field. |
float |
getFloat()
Get the float value of this field. |
int |
getInt()
Get the integer value of this field. |
abstract Kind |
getKind()
Get the kind of field being written. |
long |
getLong()
Get the long value of this field. |
Object |
getObject()
Get the object value of this field. |
short |
getShort()
Get the short value of this field. |
void |
setBoolean(boolean value)
Set the boolean value of this field. |
void |
setByte(byte value)
Set the byte value of this field. |
void |
setChar(char value)
Set the character value of this field. |
void |
setDouble(double value)
Set the double value of this field. |
void |
setFloat(float value)
Set the float value of this field. |
void |
setInt(int value)
Set the integer value of this field. |
void |
setLong(long value)
Set the long value of this field. |
void |
setObject(Object value)
Set the object value of this field. |
void |
setShort(short value)
Set the short value of this field. |
abstract void |
write(Marshaller marshaller)
Write the value of this field in its proper native format. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected FieldPutter()
| Method Detail |
|---|
public abstract void write(Marshaller marshaller)
throws IOException
marshaller - the marshaller to which to write
IOException - if an error occurspublic abstract Kind getKind()
public boolean getBoolean()
public void setBoolean(boolean value)
value - the boolean value of this fieldpublic byte getByte()
public void setByte(byte value)
value - the byte value of this fieldpublic char getChar()
public void setChar(char value)
value - the character value of this fieldpublic double getDouble()
public void setDouble(double value)
value - the double value of this fieldpublic float getFloat()
public void setFloat(float value)
value - the float value of this fieldpublic int getInt()
public void setInt(int value)
value - the integer value of this fieldpublic long getLong()
public void setLong(long value)
value - the long value of this fieldpublic Object getObject()
public void setObject(Object value)
value - the object value of this fieldpublic short getShort()
public void setShort(short value)
value - the short value of this field
|
JBoss Marshalling 1.4.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||