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

Quick Search    Search Deep

org.apache.bcel.classfile
Interface AttributeReader  view AttributeReader download AttributeReader.java


public interface AttributeReader

Unknown (non-standard) attributes may be read via user-defined factory objects that can be registered with the Attribute.addAttributeReader method. These factory objects should implement this interface.

Version:
$Id: AttributeReader.java 386056 2006-03-15 11:31:56Z tcurdt $

Method Summary
 Attribute createAttribute(int name_index, int length, java.io.DataInputStream file, ConstantPool constant_pool)
          When this attribute reader is added via the static method Attribute.addAttributeReader, an attribute name is associated with it.
 

Method Detail

createAttribute

public Attribute createAttribute(int name_index,
                                 int length,
                                 java.io.DataInputStream file,
                                 ConstantPool constant_pool)
When this attribute reader is added via the static method Attribute.addAttributeReader, an attribute name is associated with it. As the class file parser parses attributes, it will call various AttributeReaders based on the name of the attributes it is constructing.