com.sun.tools.classfile
Class Attribute.Factory

java.lang.Object
  extended by com.sun.tools.classfile.Attribute.Factory
Enclosing class:
Attribute

public static class Attribute.Factory
extends java.lang.Object


Field Summary
private  boolean compat
           
private  boolean jsr277
           
private  java.util.Map<java.lang.String,java.lang.Class<? extends Attribute>> standardAttributes
           
 
Constructor Summary
Attribute.Factory()
           
 
Method Summary
 Attribute createAttribute(ClassReader cr, int name_index, byte[] data)
           
protected  void init()
           
 void setCompat(boolean compat)
           
 void setJSR277(boolean jsr277)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

standardAttributes

private java.util.Map<java.lang.String,java.lang.Class<? extends Attribute>> standardAttributes

compat

private boolean compat

jsr277

private boolean jsr277
Constructor Detail

Attribute.Factory

public Attribute.Factory()
Method Detail

setCompat

public void setCompat(boolean compat)

setJSR277

public void setJSR277(boolean jsr277)

createAttribute

public Attribute createAttribute(ClassReader cr,
                                 int name_index,
                                 byte[] data)
                          throws java.io.IOException
Throws:
java.io.IOException

init

protected void init()