Apache Tomcat 7.0.37

org.apache.tomcat.util.bcel.classfile
Class SimpleElementValue

java.lang.Object
  extended by org.apache.tomcat.util.bcel.classfile.ElementValue
      extended by org.apache.tomcat.util.bcel.classfile.SimpleElementValue

public class SimpleElementValue
extends ElementValue


Field Summary
 
Fields inherited from class org.apache.tomcat.util.bcel.classfile.ElementValue
ANNOTATION, ARRAY, CLASS, cpool, ENUM_CONSTANT, PRIMITIVE_BOOLEAN, PRIMITIVE_BYTE, PRIMITIVE_CHAR, PRIMITIVE_DOUBLE, PRIMITIVE_FLOAT, PRIMITIVE_INT, PRIMITIVE_LONG, PRIMITIVE_SHORT, STRING, type
 
Constructor Summary
SimpleElementValue(int type, int index, ConstantPool cpool)
           
 
Method Summary
 void dump(DataOutputStream dos)
           
 int getIndex()
           
 String stringifyValue()
           
 String toString()
           
 
Methods inherited from class org.apache.tomcat.util.bcel.classfile.ElementValue
readElementValue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SimpleElementValue

public SimpleElementValue(int type,
                          int index,
                          ConstantPool cpool)
Method Detail

getIndex

public int getIndex()
Returns:
Value entry index in the cpool

toString

public String toString()
Overrides:
toString in class ElementValue

stringifyValue

public String stringifyValue()
Specified by:
stringifyValue in class ElementValue

dump

public void dump(DataOutputStream dos)
          throws IOException
Specified by:
dump in class ElementValue
Throws:
IOException

Apache Tomcat 7.0.37

Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.