com.thoughtworks.qdox.model.annotation
Class AnnotationConstant

java.lang.Object
  extended by com.thoughtworks.qdox.model.annotation.AnnotationConstant
All Implemented Interfaces:
AnnotationValue

public class AnnotationConstant
extends Object
implements AnnotationValue


Constructor Summary
AnnotationConstant(Object value, String image)
           
 
Method Summary
 Object accept(AnnotationVisitor visitor)
          Accept a visitor for this value.
 String getImage()
           
 Object getParameterValue()
          Get a parameter value for Annotation.getNamedParameter(String).
 Object getValue()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AnnotationConstant

public AnnotationConstant(Object value,
                          String image)
Method Detail

getValue

public Object getValue()

getImage

public String getImage()

toString

public String toString()
Overrides:
toString in class Object

accept

public Object accept(AnnotationVisitor visitor)
Description copied from interface: AnnotationValue
Accept a visitor for this value.

Specified by:
accept in interface AnnotationValue
Parameters:
visitor - Visitor
Returns:
Visitor result

getParameterValue

public Object getParameterValue()
Description copied from interface: AnnotationValue
Get a parameter value for Annotation.getNamedParameter(String).

Specified by:
getParameterValue in interface AnnotationValue
Returns:
Parameter value


Copyright © 2002-2011. All Rights Reserved.