com.sun.xml.bind.v2.model.annotation
Class AbstractInlineAnnotationReaderImpl<T,C,F,M>
java.lang.Object
com.sun.xml.bind.v2.model.annotation.AbstractInlineAnnotationReaderImpl<T,C,F,M>
- All Implemented Interfaces:
- AnnotationReader<T,C,F,M>
- Direct Known Subclasses:
- RuntimeInlineAnnotationReader
public abstract class AbstractInlineAnnotationReaderImpl<T,C,F,M>
- extends Object
- implements AnnotationReader<T,C,F,M>
AnnotationReader that reads annotation from classes,
not from external binding files.
This is meant to be used as a convenient partial implementation.
- Author:
- Kohsuke Kawaguchi (kk@kohsuke.org)
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.sun.xml.bind.v2.model.annotation.AnnotationReader |
getAllFieldAnnotations, getAllMethodAnnotations, getClassAnnotation, getClassArrayValue, getClassValue, getFieldAnnotation, getMethodAnnotation, getMethodParameterAnnotation, getPackageAnnotation, hasClassAnnotation, hasFieldAnnotation, hasMethodAnnotation |
AbstractInlineAnnotationReaderImpl
public AbstractInlineAnnotationReaderImpl()
setErrorHandler
public void setErrorHandler(com.sun.xml.bind.v2.model.core.ErrorHandler errorHandler)
- Specified by:
setErrorHandler in interface AnnotationReader<T,C,F,M>
getErrorHandler
public final com.sun.xml.bind.v2.model.core.ErrorHandler getErrorHandler()
- Always return a non-null valid
ErrorHandler
getMethodAnnotation
public final <A extends Annotation> A getMethodAnnotation(Class<A> annotation,
M getter,
M setter,
Locatable srcPos)
- Specified by:
getMethodAnnotation in interface AnnotationReader<T,C,F,M>
hasMethodAnnotation
public boolean hasMethodAnnotation(Class<? extends Annotation> annotation,
String propertyName,
M getter,
M setter,
Locatable srcPos)
- Specified by:
hasMethodAnnotation in interface AnnotationReader<T,C,F,M>
fullName
protected abstract String fullName(M m)
- Gets the fully-qualified name of the method.
Used for error messages.
Copyright © 2014 Oracle Corporation. All Rights Reserved.