Spring Hateoas

org.springframework.hateoas.core
Class AnnotationAttribute

java.lang.Object
  extended by org.springframework.hateoas.core.AnnotationAttribute

public class AnnotationAttribute
extends Object

Author:
Oliver Gierke

Constructor Summary
AnnotationAttribute(Class<? extends Annotation> annotationType)
           
AnnotationAttribute(Class<? extends Annotation> annotationType, String attributeName)
           
 
Method Summary
 Class<? extends Annotation> getAnnotationType()
           
 String getValueFrom(AnnotatedElement annotatedElement)
           
 String getValueFrom(Annotation annotation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AnnotationAttribute

public AnnotationAttribute(Class<? extends Annotation> annotationType)

AnnotationAttribute

public AnnotationAttribute(Class<? extends Annotation> annotationType,
                           String attributeName)
Parameters:
annotationType -
attributeName -
Method Detail

getAnnotationType

public Class<? extends Annotation> getAnnotationType()
Returns:
the annotationType

getValueFrom

public String getValueFrom(AnnotatedElement annotatedElement)

getValueFrom

public String getValueFrom(Annotation annotation)

Spring Hateoas

Copyright © 2012-2013 SpringSource, a division of VMware. All Rights Reserved.