org.springframework.hateoas.core
Class AnnotationAttribute
java.lang.Object
org.springframework.hateoas.core.AnnotationAttribute
public class AnnotationAttribute
- extends Object
- Author:
- Oliver Gierke
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AnnotationAttribute
public AnnotationAttribute(Class<? extends Annotation> annotationType)
AnnotationAttribute
public AnnotationAttribute(Class<? extends Annotation> annotationType,
String attributeName)
- Parameters:
annotationType - attributeName -
getAnnotationType
public Class<? extends Annotation> getAnnotationType()
- Returns:
- the annotationType
getValueFrom
public String getValueFrom(AnnotatedElement annotatedElement)
getValueFrom
public String getValueFrom(Annotation annotation)
Copyright © 2012-2013 SpringSource, a division of VMware. All Rights Reserved.