Top Fields Constructors Methods
org.jboss.marshalling.river

pack-priv Class RiverPutField

extends PutField
Class Inheritance
Imports
java.io.ObjectOutputStream, .ObjectOutput, .IOException, java.util.Arrays, org.jboss.marshalling.Marshaller, .TraceInformation, org.jboss.marshalling.util.FieldPutter

Field Summary

Modifier and TypeField and Description
private final FieldPutter[]
private final String[]

Constructor Summary

AccessConstructor and Description
public
RiverPutField(final FieldPutter[] fields, final String[] names)

Method Summary

Modifier and TypeMethod and Description
private FieldPutter
find(final String name)

public void
put(final String
the name of the serializable field
name
,
final boolean
the value to assign to the field
val
)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Put the value of the named boolean field into the persistent field.
public void
put(final String
the name of the serializable field
name
,
final byte
the value to assign to the field
val
)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Put the value of the named byte field into the persistent field.
public void
put(final String
the name of the serializable field
name
,
final char
the value to assign to the field
val
)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Put the value of the named char field into the persistent field.
public void
put(final String
the name of the serializable field
name
,
final short
the value to assign to the field
val
)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Put the value of the named short field into the persistent field.
public void
put(final String
the name of the serializable field
name
,
final int
the value to assign to the field
val
)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Put the value of the named int field into the persistent field.
public void
put(final String
the name of the serializable field
name
,
final long
the value to assign to the field
val
)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Put the value of the named long field into the persistent field.
public void
put(final String
the name of the serializable field
name
,
final float
the value to assign to the field
val
)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Put the value of the named float field into the persistent field.
public void
put(final String
the name of the serializable field
name
,
final double
the value to assign to the field
val
)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Put the value of the named double field into the persistent field.
public void
put(final String
the name of the serializable field
name
,
final Object
the value to assign to the field (which may be null)
val
)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Put the value of the named Object field into the persistent field.
public final void
write(final ObjectOutput
the stream to write the data and fields to
out
)

Implements abstract java.io.ObjectOutputStream.PutField.write.

Deprecated
Write the data and fields to the specified ObjectOutput stream, which must be the same stream that produced this PutField object.
protected final void
write(final Marshaller marshaller)

Field Detail

fieldsback to summary
private final FieldPutter[] fields
namesback to summary
private final String[] names

Constructor Detail

RiverPutFieldback to summary
public RiverPutField(final FieldPutter[] fields, final String[] names)

Method Detail

findback to summary
private FieldPutter find(final String name)
putback to summary
public void put(final String name, final boolean val)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Doc from java.io.ObjectOutputStream.PutField.put.

Put the value of the named boolean field into the persistent field.

Parameters
name:String

the name of the serializable field

val:boolean

the value to assign to the field

putback to summary
public void put(final String name, final byte val)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Doc from java.io.ObjectOutputStream.PutField.put.

Put the value of the named byte field into the persistent field.

Parameters
name:String

the name of the serializable field

val:byte

the value to assign to the field

putback to summary
public void put(final String name, final char val)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Doc from java.io.ObjectOutputStream.PutField.put.

Put the value of the named char field into the persistent field.

Parameters
name:String

the name of the serializable field

val:char

the value to assign to the field

putback to summary
public void put(final String name, final short val)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Doc from java.io.ObjectOutputStream.PutField.put.

Put the value of the named short field into the persistent field.

Parameters
name:String

the name of the serializable field

val:short

the value to assign to the field

putback to summary
public void put(final String name, final int val)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Doc from java.io.ObjectOutputStream.PutField.put.

Put the value of the named int field into the persistent field.

Parameters
name:String

the name of the serializable field

val:int

the value to assign to the field

putback to summary
public void put(final String name, final long val)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Doc from java.io.ObjectOutputStream.PutField.put.

Put the value of the named long field into the persistent field.

Parameters
name:String

the name of the serializable field

val:long

the value to assign to the field

putback to summary
public void put(final String name, final float val)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Doc from java.io.ObjectOutputStream.PutField.put.

Put the value of the named float field into the persistent field.

Parameters
name:String

the name of the serializable field

val:float

the value to assign to the field

putback to summary
public void put(final String name, final double val)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Doc from java.io.ObjectOutputStream.PutField.put.

Put the value of the named double field into the persistent field.

Parameters
name:String

the name of the serializable field

val:double

the value to assign to the field

putback to summary
public void put(final String name, final Object val)

Implements abstract java.io.ObjectOutputStream.PutField.put.

Doc from java.io.ObjectOutputStream.PutField.put.

Put the value of the named Object field into the persistent field.

Parameters
name:String

the name of the serializable field

val:Object

the value to assign to the field (which may be null)

writeback to summary
public final void write(final ObjectOutput out) throws IOException

Implements abstract java.io.ObjectOutputStream.PutField.write.

Doc from java.io.ObjectOutputStream.PutField.write.

Deprecated

Write the data and fields to the specified ObjectOutput stream, which must be the same stream that produced this PutField object.

Parameters
out:ObjectOutput

the stream to write the data and fields to

Annotations
@Deprecated
Exceptions
IOException:
if I/O errors occur while writing to the underlying stream
writeback to summary
protected final void write(final Marshaller marshaller) throws IOException