public class ObjectReadField extends ReadField
| Constructor and Description |
|---|
ObjectReadField(SerializableField field)
Construct a new instance with the default value.
|
ObjectReadField(SerializableField field,
Object value)
Construct a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Kind |
getKind()
Get the kind of field represented by this object.
|
Object |
getObject()
Get the object value of this field.
|
public ObjectReadField(SerializableField field, Object value)
field - the serializable fieldvalue - the valuepublic ObjectReadField(SerializableField field)
field - the serializable fieldpublic Kind getKind()
public Object getObject() throws IOException
getObject in class ReadFieldIOException - if the value cannot be readCopyright © 2019 JBoss by Red Hat. All rights reserved.