|
|||||||||
| Home >> All >> org >> metacosm >> [ bin2xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
org.metacosm.bin2xml
Class ClassDescriptionByte

java.lang.Objectorg.metacosm.bin2xml.ClassDescription
org.metacosm.bin2xml.ClassDescriptionByte
- class ClassDescriptionByte
- extends ClassDescription
Class description for bytes
| Field Summary | |
(package private) static ClassDescriptionBoolean |
BOOLEAN
ClassDescription for a boolean field |
(package private) static ClassDescriptionByte |
BYTE
ClassDescription for a byte field |
(package private) static ClassDescriptionChar |
CHAR
ClassDescription for a char field |
(package private) static ClassDescriptionDouble |
DOUBLE
ClassDescription for a double field |
(package private) static ClassDescriptionFloat |
FLOAT
ClassDescription for a float field |
(package private) static ClassDescriptionInt |
INT
ClassDescription for an int field |
(package private) static ClassDescriptionLong |
LONG
ClassDescription for a long field |
(package private) java.lang.String |
m_className
Class name |
(package private) ClassDescription[] |
m_fields
Fields |
(package private) ClassDescription |
m_motherClass
Mother class |
(package private) java.lang.String |
m_name
Name of this field |
(package private) static ClassDescriptionShort |
SHORT
ClassDescription for a short field |
| Constructor Summary | |
(package private) |
ClassDescriptionByte()
|
| Method Summary | |
(package private) void |
addBooleanField()
Adds a boolean field to the class description |
(package private) void |
addByteField()
Adds a byte field to the class description |
(package private) void |
addCharField()
Adds a char field to the class description |
(package private) void |
addDoubleField()
Adds a double field to the class description |
(package private) void |
addField(ClassDescription field)
Adds a field to the class description. |
(package private) void |
addFloatField()
Adds a float field to the class description |
(package private) void |
addIntField()
Adds an int field to the class description |
(package private) void |
addLongField()
Adds a long field to the class description |
(package private) void |
addShortField()
Adds a short field to the class description |
(package private) boolean |
emptyObject()
|
(package private) java.lang.String |
getClassName()
|
(package private) void |
readData(Bin2XML Bin2XML)
Reads a byte. |
(package private) void |
setMotherClass(ClassDescription motherClass)
Sets the mother class of the class description |
java.lang.String |
toString()
Method for debugging purpose |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
m_className
java.lang.String m_className
- Class name
m_name
java.lang.String m_name
- Name of this field
m_fields
ClassDescription[] m_fields
- Fields
m_motherClass
ClassDescription m_motherClass
- Mother class
BOOLEAN
static final ClassDescriptionBoolean BOOLEAN
- ClassDescription for a boolean field
BYTE
static final ClassDescriptionByte BYTE
- ClassDescription for a byte field
CHAR
static final ClassDescriptionChar CHAR
- ClassDescription for a char field
DOUBLE
static final ClassDescriptionDouble DOUBLE
- ClassDescription for a double field
FLOAT
static final ClassDescriptionFloat FLOAT
- ClassDescription for a float field
INT
static final ClassDescriptionInt INT
- ClassDescription for an int field
LONG
static final ClassDescriptionLong LONG
- ClassDescription for a long field
SHORT
static final ClassDescriptionShort SHORT
- ClassDescription for a short field
| Constructor Detail |
ClassDescriptionByte
ClassDescriptionByte()
| Method Detail |
readData
void readData(Bin2XML Bin2XML) throws java.io.IOException
- Reads a byte.
- Overrides:
readDatain classClassDescription
toString
public java.lang.String toString()
- Method for debugging purpose
- Overrides:
toStringin classClassDescription
addField
void addField(ClassDescription field)
- Adds a field to the class description.
addBooleanField
void addBooleanField()
- Adds a boolean field to the class description
addByteField
void addByteField()
- Adds a byte field to the class description
addCharField
void addCharField()
- Adds a char field to the class description
addDoubleField
void addDoubleField()
- Adds a double field to the class description
addFloatField
void addFloatField()
- Adds a float field to the class description
addIntField
void addIntField()
- Adds an int field to the class description
addLongField
void addLongField()
- Adds a long field to the class description
addShortField
void addShortField()
- Adds a short field to the class description
setMotherClass
void setMotherClass(ClassDescription motherClass)
- Sets the mother class of the class description
emptyObject
boolean emptyObject()
getClassName
java.lang.String getClassName()
|
|||||||||
| Home >> All >> org >> metacosm >> [ bin2xml overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC