org.jboss.marshalling.util
Class ReadField
java.lang.Object
org.jboss.marshalling.util.ReadField
- All Implemented Interfaces:
- Comparable<ReadField>
- Direct Known Subclasses:
- BooleanReadField, ByteReadField, CharReadField, DoubleReadField, FloatReadField, IntReadField, LongReadField, ObjectReadField, ShortReadField
public abstract class ReadField
- extends Object
- implements Comparable<ReadField>
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ReadField
protected ReadField(String name,
boolean defaulted)
getKind
public abstract Kind getKind()
getName
public String getName()
isDefaulted
public boolean isDefaulted()
getBoolean
public boolean getBoolean()
throws IOException
- Throws:
IOException
getChar
public char getChar()
throws IOException
- Throws:
IOException
getFloat
public float getFloat()
throws IOException
- Throws:
IOException
getDouble
public double getDouble()
throws IOException
- Throws:
IOException
getByte
public byte getByte()
throws IOException
- Throws:
IOException
getShort
public short getShort()
throws IOException
- Throws:
IOException
getInt
public int getInt()
throws IOException
- Throws:
IOException
getLong
public long getLong()
throws IOException
- Throws:
IOException
getObject
public Object getObject()
throws IOException
- Throws:
IOException
compareTo
public int compareTo(ReadField o)
- Specified by:
compareTo
in interface Comparable<ReadField>
Copyright © 2010 JBoss, a division of Red Hat, Inc.