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