Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

com.chaoswg.xtc4y.classdesc
Class AttributeInfo  view AttributeInfo download AttributeInfo.java

java.lang.Object
  extended bycom.chaoswg.xtc4y.classdesc.AttributeInfo

public class AttributeInfo
extends java.lang.Object

This class describes the information for an attribute


Field Summary
private  Attribute attribute
           
 
Constructor Summary
  AttributeInfo(Attribute attribute)
          Construct a new attribute initializes with the appropriate attribute.
protected AttributeInfo(java.io.DataInputStream dis, ConstantPool cp)
          Creates a AttributeInfo and initializes it from a DataInputStream
 
Method Summary
 Attribute getAttribute()
           
 void setAttribute(Attribute attr)
          Set a new attribute to this attributeinfo
 java.lang.String toString()
          Write in a readable way
protected  void write(java.io.DataOutputStream dos, ConstantPool cp)
          Write the constant pool information into a DataOutputStream
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attribute

private Attribute attribute
Constructor Detail

AttributeInfo

protected AttributeInfo(java.io.DataInputStream dis,
                        ConstantPool cp)
                 throws java.io.IOException
Creates a AttributeInfo and initializes it from a DataInputStream


AttributeInfo

public AttributeInfo(Attribute attribute)
Construct a new attribute initializes with the appropriate attribute.

Method Detail

write

protected final void write(java.io.DataOutputStream dos,
                           ConstantPool cp)
                    throws java.io.IOException
Write the constant pool information into a DataOutputStream


getAttribute

public Attribute getAttribute()

setAttribute

public void setAttribute(Attribute attr)
Set a new attribute to this attributeinfo


toString

public java.lang.String toString()
Write in a readable way