
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.
|
java.lang.Object |
getObject()
Get the object value of this field.
|
void |
setObject(java.lang.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 java.io.IOException
write in class FieldPuttermarshaller - the marshaller to which to writejava.io.IOException - if an error occurspublic Kind getKind()
getKind in class FieldPutterpublic java.lang.Object getObject()
getObject in class FieldPutterpublic void setObject(java.lang.Object value)
setObject in class FieldPuttervalue - the object value of this fieldCopyright © 2011 JBoss, a division of Red Hat, Inc.