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

public Class BooleanFieldPutter

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

A field putter for boolean-type fields.

Field Summary

Modifier and TypeField and Description
private boolean

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public boolean
getBoolean()

Overrides org.jboss.marshalling.util.FieldPutter.getBoolean.

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

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

Get the kind of field being written.
public void
setBoolean(boolean
the boolean value of this field
value
)

Overrides org.jboss.marshalling.util.FieldPutter.setBoolean.

Set the boolean 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:
getBytegetChargetDoublegetFloatgetIntgetLonggetObjectgetShortsetBytesetCharsetDoublesetFloatsetIntsetLongsetObjectsetShort

Field Detail

valueback to summary
private boolean value

Constructor Detail

BooleanFieldPutterback to summary
public BooleanFieldPutter()

Method Detail

getBooleanback to summary
public boolean getBoolean()

Overrides org.jboss.marshalling.util.FieldPutter.getBoolean.

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

Get the boolean value of this field.

Returns:boolean

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

setBooleanback to summary
public void setBoolean(boolean value)

Overrides org.jboss.marshalling.util.FieldPutter.setBoolean.

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

Set the boolean value of this field.

Parameters
value:boolean

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