|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectsoot.tagkit.GenericAttribute
Represents a general attribute which can be attached to implementations of Host. It can be directly used to add attributes of class files, fields, and methods.
CodeAttribute
Constructor Summary | |
GenericAttribute(String name,
byte[] value)
|
Method Summary | |
String |
getName()
Returns the tag name. |
List |
getUnitBoxes()
|
byte[] |
getValue()
Returns the tag raw data. |
void |
setValue(byte[] value)
Sets the value of the attribute from a byte[]. |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public GenericAttribute(String name, byte[] value)
Method Detail |
public String getName()
Tag
getName
in interface Tag
public byte[] getValue()
Tag
getValue
in interface Tag
public String toString()
public void setValue(byte[] value)
Attribute
setValue
in interface Attribute
public List getUnitBoxes()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |