All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class com.sun.wizards.builder.compiler.attribute_info

java.lang.Object
   |
   +----com.sun.wizards.builder.compiler.attribute_info

public class attribute_info
extends Object
attribute_info is a class that represents an attribute associated with a field, a method or a class. This class has the ability to read its information from a class file and write its information to a class file.

The information used to write this class was obtained from the book "The Java Virtual Machine Specification", pages 84 - 118.

Note: The use of all lower-case variable names with underscores is done to show an exact translation from the Virtual Machine Specification.


Constructor Index

 o attribute_info(DataInput)
Create a new attribute_info object from the specified input stream.
 o attribute_info(short, byte[])
Create a new attribute_info object from the specified constant pool index and data.

Method Index

 o read(DataInput)
Read the attribute_info object from the specified input stream.
 o write(DataOutput)
Write this attribute_info object to the specified output stream.

Constructors

 o attribute_info
 public attribute_info(DataInput in)
Create a new attribute_info object from the specified input stream.

Parameters:
in - The input stream containing the attribute information.
 o attribute_info
 public attribute_info(short attribute_name_index,
                       byte attributeInfo[])
Create a new attribute_info object from the specified constant pool index and data.

Parameters:
attribute_name_index - The index into the constant pool representing the name of the new attribute.
attributeInfo - The data comprising the contents of the new attribute.

Methods

 o read
 public void read(DataInput in)
Read the attribute_info object from the specified input stream.

Parameters:
in - The input stream containing initialization data for this attribute_info object.
 o write
 public void write(DataOutput out)
Write this attribute_info object to the specified output stream.

Parameters:
out - The output stream on which this attribute_info object should be written.

All Packages  Class Hierarchy  This Package  Previous  Next  Index