JBoss Marshalling 1.3.0.CR9

org.jboss.marshalling.util
Class ShortReadField

java.lang.Object
  extended by org.jboss.marshalling.util.ReadField
      extended by org.jboss.marshalling.util.ShortReadField
All Implemented Interfaces:
Comparable<ReadField>

public class ShortReadField
extends ReadField


Constructor Summary
ShortReadField(SerializableField field)
           
ShortReadField(SerializableField field, short value)
           
 
Method Summary
 Kind getKind()
           
 short getShort()
           
 
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

ShortReadField

public ShortReadField(SerializableField field,
                      short value)

ShortReadField

public ShortReadField(SerializableField field)
Method Detail

getKind

public Kind getKind()
Specified by:
getKind in class ReadField

getShort

public short getShort()
               throws IOException
Overrides:
getShort in class ReadField
Throws:
IOException

JBoss Marshalling 1.3.0.CR9

Copyright © 2011 JBoss, a division of Red Hat, Inc.