public class ObjectFieldPutter extends FieldPutter
Constructor and Description |
---|
ObjectFieldPutter(boolean unshared)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
Kind |
getKind()
Get the kind of field being written.
|
Object |
getObject()
Get the object value of this field.
|
void |
setObject(Object value)
Set the object value of this field.
|
void |
write(Marshaller marshaller)
Write the value of this field in its proper native format.
|
public ObjectFieldPutter(boolean unshared)
unshared
- true
if this object should be recorded as "unshared", false
otherwisepublic 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 Object getObject()
getObject
in class FieldPutter
public void setObject(Object value)
setObject
in class FieldPutter
value
- the object value of this fieldCopyright © 2019 JBoss by Red Hat. All rights reserved.