public class ShortFieldPutter extends FieldPutter
Constructor and Description |
---|
ShortFieldPutter() |
Modifier and Type | Method and 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 © 2021 JBoss by Red Hat. All rights reserved.