Top Description Fields Constructors Methods
org.jboss.marshalling.util

public Class FloatFieldPutter

extends FieldPutter
Class Inheritance
Imports
org.jboss.marshalling.Marshaller, java.io.IOException

A field putter for float-type fields.

Field Summary

Modifier and TypeField and Description
private float

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public float
getFloat()

Overrides org.jboss.marshalling.util.FieldPutter.getFloat.

Get the float value of this field.
public Kind
getKind()

Implements abstract org.jboss.marshalling.util.FieldPutter.getKind.

Get the kind of field being written.
public void
setFloat(final float
the float value of this field
value
)

Overrides org.jboss.marshalling.util.FieldPutter.setFloat.

Set the float value of this field.
public void
write(final Marshaller
the marshaller to which to write
marshaller
)

Implements abstract org.jboss.marshalling.util.FieldPutter.write.

Write the value of this field in its proper native format.
Inherited from org.jboss.marshalling.util.FieldPutter:
getBooleangetBytegetChargetDoublegetIntgetLonggetObjectgetShortsetBooleansetBytesetCharsetDoublesetIntsetLongsetObjectsetShort

Field Detail

valueback to summary
private float value

Constructor Detail

FloatFieldPutterback to summary
public FloatFieldPutter()

Method Detail

getFloatback to summary
public float getFloat()

Overrides org.jboss.marshalling.util.FieldPutter.getFloat.

Doc from org.jboss.marshalling.util.FieldPutter.getFloat.

Get the float value of this field.

Returns:float

the float value of this field

getKindback to summary
public Kind getKind()

Implements abstract org.jboss.marshalling.util.FieldPutter.getKind.

Doc from org.jboss.marshalling.util.FieldPutter.getKind.

Get the kind of field being written.

Returns:Kind

the kind of field

setFloatback to summary
public void setFloat(final float value)

Overrides org.jboss.marshalling.util.FieldPutter.setFloat.

Doc from org.jboss.marshalling.util.FieldPutter.setFloat.

Set the float value of this field.

Parameters
value:float

the float value of this field

writeback to summary
public void write(final Marshaller marshaller) throws IOException

Implements abstract org.jboss.marshalling.util.FieldPutter.write.

Doc from org.jboss.marshalling.util.FieldPutter.write.

Write the value of this field in its proper native format.

Parameters
marshaller:Marshaller

the marshaller to which to write

Exceptions
IOException:
if an error occurs