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

Quick Search    Search Deep

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

java.lang.Object
  extended bycom.chaoswg.xtc4y.classdesc.Attribute
      extended bycom.chaoswg.xtc4y.classdesc.DeprecatedAttribute

public class DeprecatedAttribute
extends Attribute

This class describes the information for a deprecated attribute ($4.7.10)


Field Summary
static java.lang.String NAME
           
 
Constructor Summary
  DeprecatedAttribute()
          construct a new deprecated attribute
protected DeprecatedAttribute(java.io.DataInputStream dis, ConstantPool cp, int length)
          Creates a DeprecatedAttribute and initializes it from a DataInputStream The attribute name and length of the attribute information was already read.
 
Method Summary
 java.lang.String getName()
           
protected  void writeAttribute(java.io.DataOutputStream dos, ConstantPool cp)
          Write the attribute information onto the DataOutputStream, using the constant pool to register variables.
 
Methods inherited from class com.chaoswg.xtc4y.classdesc.Attribute
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NAME

public static final java.lang.String NAME
See Also:
Constant Field Values
Constructor Detail

DeprecatedAttribute

protected DeprecatedAttribute(java.io.DataInputStream dis,
                              ConstantPool cp,
                              int length)
                       throws java.io.IOException
Creates a DeprecatedAttribute and initializes it from a DataInputStream The attribute name and length of the attribute information was already read.


DeprecatedAttribute

public DeprecatedAttribute()
construct a new deprecated attribute

Method Detail

writeAttribute

protected void writeAttribute(java.io.DataOutputStream dos,
                              ConstantPool cp)
                       throws java.io.IOException
Write the attribute information onto the DataOutputStream, using the constant pool to register variables. The Attribute name and the length of the information will already be written. A specific attribute implementation should overwrite this method.

Specified by:
writeAttribute in class Attribute

getName

public java.lang.String getName()
Specified by:
getName in class Attribute