Comparable<ReadField>public class ObjectReadField extends ReadField
| Constructor | 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 | 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 © 2018 JBoss by Red Hat. All rights reserved.