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

public Class ByteFieldPutter

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

A field putter for byte-type fields.

Field Summary

Modifier and TypeField and Description
private byte

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public byte
getByte()

Overrides org.jboss.marshalling.util.FieldPutter.getByte.

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

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

Get the kind of field being written.
public void
setByte(final byte
the byte value of this field
value
)

Overrides org.jboss.marshalling.util.FieldPutter.setByte.

Set the byte 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:
getBooleangetChargetDoublegetFloatgetIntgetLonggetObjectgetShortsetBooleansetCharsetDoublesetFloatsetIntsetLongsetObjectsetShort

Field Detail

valueback to summary
private byte value

Constructor Detail

ByteFieldPutterback to summary
public ByteFieldPutter()

Method Detail

getByteback to summary
public byte getByte()

Overrides org.jboss.marshalling.util.FieldPutter.getByte.

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

Get the byte value of this field.

Returns:byte

the byte 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

setByteback to summary
public void setByte(final byte value)

Overrides org.jboss.marshalling.util.FieldPutter.setByte.

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

Set the byte value of this field.

Parameters
value:byte

the byte 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