Package org.jboss.marshalling.util
Class FloatFieldPutter
java.lang.Object
org.jboss.marshalling.util.FieldPutter
org.jboss.marshalling.util.FloatFieldPutter
A field putter for float-type fields.
-
Field Details
-
value
private float value
-
-
Constructor Details
-
FloatFieldPutter
public FloatFieldPutter()
-
-
Method Details
-
write
Write the value of this field in its proper native format.- Specified by:
write
in classFieldPutter
- Parameters:
marshaller
- the marshaller to which to write- Throws:
IOException
- if an error occurs
-
getKind
Get the kind of field being written.- Specified by:
getKind
in classFieldPutter
- Returns:
- the kind of field
-
getFloat
public float getFloat()Get the float value of this field.- Overrides:
getFloat
in classFieldPutter
- Returns:
- the float value of this field
-
setFloat
public void setFloat(float value) Set the float value of this field.- Overrides:
setFloat
in classFieldPutter
- Parameters:
value
- the float value of this field
-