org.apache.jdo.impl.enhancer.classfile
Class AttributeVector

java.lang.Object
  extended by org.apache.jdo.impl.enhancer.classfile.AttributeVector

public class AttributeVector
extends java.lang.Object

A list of attributes within a class file. These lists occur in several places within a class file - at class level - at method level - at field level - at attribute level


Constructor Summary
AttributeVector()
          Construct an empty AttributeVector
 
Method Summary
 void addElement(ClassAttribute attr)
          Add an element to the vector
 java.util.Enumeration elements()
           
 ClassAttribute findAttribute(java.lang.String attrName)
          Look for an attribute of a specific name
 boolean isEqual(java.util.Stack msg, java.lang.Object obj)
          Compares this instance with another for structural equality.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AttributeVector

public AttributeVector()
Construct an empty AttributeVector

Method Detail

addElement

public void addElement(ClassAttribute attr)
Add an element to the vector


elements

public java.util.Enumeration elements()

findAttribute

public ClassAttribute findAttribute(java.lang.String attrName)
Look for an attribute of a specific name


isEqual

public boolean isEqual(java.util.Stack msg,
                       java.lang.Object obj)
Compares this instance with another for structural equality.



Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.