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

public Class CharFieldPutter

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

A field putter for char-type fields.

Field Summary

Modifier and TypeField and Description
private char

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public char
getChar()

Overrides org.jboss.marshalling.util.FieldPutter.getChar.

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

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

Get the kind of field being written.
public void
setChar(final char
the character value of this field
value
)

Overrides org.jboss.marshalling.util.FieldPutter.setChar.

Set the character 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:
getBooleangetBytegetDoublegetFloatgetIntgetLonggetObjectgetShortsetBooleansetBytesetDoublesetFloatsetIntsetLongsetObjectsetShort

Field Detail

valueback to summary
private char value

Constructor Detail

CharFieldPutterback to summary
public CharFieldPutter()

Method Detail

getCharback to summary
public char getChar()

Overrides org.jboss.marshalling.util.FieldPutter.getChar.

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

Get the character value of this field.

Returns:char

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

setCharback to summary
public void setChar(final char value)

Overrides org.jboss.marshalling.util.FieldPutter.setChar.

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

Set the character value of this field.

Parameters
value:char

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