Module org.glassfish.jaxb.runtime
Class AbstractInlineAnnotationReaderImpl<T,C,F,M>
- java.lang.Object
-
- org.glassfish.jaxb.runtime.v2.model.annotation.AbstractInlineAnnotationReaderImpl<T,C,F,M>
-
- All Implemented Interfaces:
org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<T,C,F,M>
- Direct Known Subclasses:
RuntimeInlineAnnotationReader
public abstract class AbstractInlineAnnotationReaderImpl<T,C,F,M> extends Object implements org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<T,C,F,M>
AnnotationReaderthat 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)
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedAbstractInlineAnnotationReaderImpl()Default constructor.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract StringfullName(M m)Gets the fully-qualified name of the method.org.glassfish.jaxb.core.v2.model.core.ErrorHandlergetErrorHandler()Always return a non-null validErrorHandler<A extends Annotation>
AgetMethodAnnotation(Class<A> annotation, M getter, M setter, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)booleanhasMethodAnnotation(Class<? extends Annotation> annotation, String propertyName, M getter, M setter, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)voidsetErrorHandler(org.glassfish.jaxb.core.v2.model.core.ErrorHandler errorHandler)-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader
getAllFieldAnnotations, getAllMethodAnnotations, getClassAnnotation, getClassArrayValue, getClassValue, getFieldAnnotation, getMethodAnnotation, getMethodParameterAnnotation, getPackageAnnotation, hasClassAnnotation, hasFieldAnnotation, hasMethodAnnotation
-
-
-
-
Method Detail
-
setErrorHandler
public void setErrorHandler(org.glassfish.jaxb.core.v2.model.core.ErrorHandler errorHandler)
-
getErrorHandler
public final org.glassfish.jaxb.core.v2.model.core.ErrorHandler getErrorHandler()
Always return a non-null validErrorHandler
-
getMethodAnnotation
public final <A extends Annotation> A getMethodAnnotation(Class<A> annotation, M getter, M setter, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
-
hasMethodAnnotation
public boolean hasMethodAnnotation(Class<? extends Annotation> annotation, String propertyName, M getter, M setter, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
-
-