java.lang.Object
org.jboss.marshalling.util.FieldPutter
org.jboss.marshalling.util.FloatFieldPutter
A field putter for float-type fields.
-
Constructor Details
-
FloatFieldPutter
public FloatFieldPutter()
-
-
Method Details
-
write
Write the value of this field in its proper native format.- Specified by:
writein 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:
getKindin classFieldPutter- Returns:
- the kind of field
-
getFloat
public float getFloat()Get the float value of this field.- Overrides:
getFloatin classFieldPutter- Returns:
- the float value of this field
-
setFloat
public void setFloat(float value) Set the float value of this field.- Overrides:
setFloatin classFieldPutter- Parameters:
value- the float value of this field
-