org.apache.bcel.generic
Class ElementValuePairGen

java.lang.Object
  extended by org.apache.bcel.generic.ElementValuePairGen

public class ElementValuePairGen
extends java.lang.Object


Constructor Summary
  ElementValuePairGen(ElementValuePair nvp, ConstantPoolGen cpool, boolean copyPoolEntries)
           
protected ElementValuePairGen(int idx, ElementValueGen value, ConstantPoolGen cpool)
           
  ElementValuePairGen(java.lang.String name, ElementValueGen value, ConstantPoolGen cpool)
           
 
Method Summary
protected  void dump(java.io.DataOutputStream dos)
           
 ElementValuePair getElementNameValuePair()
          Retrieve an immutable version of this ElementNameValuePairGen
 int getNameIndex()
           
 java.lang.String getNameString()
           
 ElementValueGen getValue()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ElementValuePairGen

public ElementValuePairGen(ElementValuePair nvp,
                           ConstantPoolGen cpool,
                           boolean copyPoolEntries)

ElementValuePairGen

protected ElementValuePairGen(int idx,
                              ElementValueGen value,
                              ConstantPoolGen cpool)

ElementValuePairGen

public ElementValuePairGen(java.lang.String name,
                           ElementValueGen value,
                           ConstantPoolGen cpool)
Method Detail

getElementNameValuePair

public ElementValuePair getElementNameValuePair()
Retrieve an immutable version of this ElementNameValuePairGen


dump

protected void dump(java.io.DataOutputStream dos)
             throws java.io.IOException
Throws:
java.io.IOException

getNameIndex

public int getNameIndex()

getNameString

public final java.lang.String getNameString()

getValue

public final ElementValueGen getValue()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2004-2008 The Apache Software Foundation. All Rights Reserved.