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 FieldPuttermarshaller - the marshaller to which to writeIOException - if an error occurspublic Kind getKind()
getKind in class FieldPutterpublic Object getObject()
getObject in class FieldPutterpublic void setObject(Object value)
setObject in class FieldPuttervalue - the object value of this fieldCopyright © 2017 JBoss by Red Hat. All rights reserved.