|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.multijava.util.classfile.Attribute
This is the root class of every attribute
| Constructor Summary | |
Attribute()
|
|
| Method Summary | |
protected abstract int |
getSize()
Returns the space in bytes used by this attribute in the classfile |
protected abstract int |
getTag()
Returns the attribute's tag |
protected abstract void |
resolveConstants(ConstantPool cp)
Insert or check location of constant value on constant pool |
protected abstract void |
write(ConstantPool cp,
DataOutput out)
Write this class into the the file (out) getting data position from the constant pool |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Attribute()
| Method Detail |
protected abstract int getTag()
protected abstract int getSize()
protected abstract void resolveConstants(ConstantPool cp)
throws ClassFileFormatException
cp - the constant pool for this class
ClassFileFormatException
protected abstract void write(ConstantPool cp,
DataOutput out)
throws IOException,
ClassFileFormatException
cp - the constant pool that contain all dataout - the file where to write this object info
IOException - an io problem has occured
ClassFileFormatException - attempt to
write a bad classfile info
|
mjc | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||