|
JBoss Marshalling 1.4.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.marshalling.util.ReadField
org.jboss.marshalling.util.ShortReadField
public class ShortReadField

A read field whose value is a boolean type.
| Constructor Summary | |
|---|---|
ShortReadField(SerializableField field)
Construct a new instance with the default value. |
|
ShortReadField(SerializableField field,
short value)
Construct a new instance. |
|
| Method Summary | |
|---|---|
Kind |
getKind()
Get the kind of field represented by this object. |
short |
getShort()
Get the short value of this field. |
| Methods inherited from class org.jboss.marshalling.util.ReadField |
|---|
compareTo, getBoolean, getByte, getChar, getDouble, getFloat, getInt, getLong, getName, getObject, isDefaulted |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ShortReadField(SerializableField field,
short value)
field - the serializable fieldvalue - the valuepublic ShortReadField(SerializableField field)
field - the serializable field| Method Detail |
|---|
public Kind getKind()
getKind in class ReadField
public short getShort()
throws IOException
getShort in class ReadFieldIOException - if the value cannot be read
|
JBoss Marshalling 1.4.3.Final | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||