Package org.jboss.marshalling.util
Class ObjectReadField
java.lang.Object
org.jboss.marshalling.util.ReadField
org.jboss.marshalling.util.ObjectReadField
- All Implemented Interfaces:
Comparable<ReadField>
A read field whose value is an object type.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionObjectReadField
(SerializableField field) Construct a new instance with the default value.ObjectReadField
(SerializableField field, Object value) Construct a new instance. -
Method Summary
-
Field Details
-
value
-
-
Constructor Details
-
ObjectReadField
Construct a new instance.- Parameters:
field
- the serializable fieldvalue
- the value
-
ObjectReadField
Construct a new instance with the default value.- Parameters:
field
- the serializable field
-
-
Method Details
-
getKind
Get the kind of field represented by this object. -
getObject
Get the object value of this field.- Overrides:
getObject
in classReadField
- Returns:
- the object value of this field
- Throws:
IOException
- if the value cannot be read
-