public class ShortFieldPutter extends FieldPutter
Constructor | Description |
---|---|
ShortFieldPutter() |
Modifier and Type | Method | Description |
---|---|---|
Kind |
getKind() |
Get the kind of field being written.
|
short |
getShort() |
Get the short value of this field.
|
void |
setShort(short value) |
Set the short value of this field.
|
void |
write(Marshaller marshaller) |
Write the value of this field in its proper native format.
|
public void write(Marshaller marshaller) throws IOException
write
in class FieldPutter
marshaller
- the marshaller to which to writeIOException
- if an error occurspublic Kind getKind()
getKind
in class FieldPutter
public short getShort()
getShort
in class FieldPutter
public void setShort(short value)
setShort
in class FieldPutter
value
- the short value of this fieldCopyright © 2019 JBoss by Red Hat. All rights reserved.