Package org.jvnet.jaxb.annox.xml.bind
Class AnnoxAnnotationReader
-
- All Implemented Interfaces:
org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>,org.glassfish.jaxb.runtime.v2.model.annotation.RuntimeAnnotationReader
public class AnnoxAnnotationReader extends org.glassfish.jaxb.runtime.v2.model.annotation.AbstractInlineAnnotationReaderImpl<Type,Class,Field,Method> implements org.glassfish.jaxb.runtime.v2.model.annotation.RuntimeAnnotationReader
-
-
Constructor Summary
Constructors Constructor Description AnnoxAnnotationReader()AnnoxAnnotationReader(AnnotatedElementFactory annotatedElementFactory)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringfullName(Method m)Annotation[]getAllFieldAnnotations(Field field, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)Annotation[]getAllMethodAnnotations(Method method, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)protected AnnotatedElementgetAnnotatedElement(Class theClass)protected AnnotatedElementgetAnnotatedElement(Package thePackage)protected AnnotatedElementgetAnnotatedElement(Field field)protected ParameterizedAnnotatedElementgetAnnotatedElement(Method theMethod)AnnotatedElementFactorygetAnnotatedElementFactory()<A extends Annotation>
AgetClassAnnotation(Class<A> a, Class clazz, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)Class[]getClassArrayValue(Annotation a, String name)ClassgetClassValue(Annotation a, String name)<A extends Annotation>
AgetFieldAnnotation(Class<A> annotation, Field field, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)<A extends Annotation>
AgetMethodAnnotation(Class<A> annotation, Method method, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)<A extends Annotation>
AgetMethodParameterAnnotation(Class<A> annotation, Method method, int paramIndex, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)<A extends Annotation>
AgetPackageAnnotation(Class<A> a, Class clazz, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)booleanhasClassAnnotation(Class clazz, Class<? extends Annotation> annotationType)booleanhasFieldAnnotation(Class<? extends Annotation> annotationType, Field field)booleanhasMethodAnnotation(Class<? extends Annotation> annotation, Method method)-
Methods inherited from class org.glassfish.jaxb.runtime.v2.model.annotation.AbstractInlineAnnotationReaderImpl
getErrorHandler, getMethodAnnotation, hasMethodAnnotation, setErrorHandler
-
-
-
-
Constructor Detail
-
AnnoxAnnotationReader
public AnnoxAnnotationReader()
-
AnnoxAnnotationReader
public AnnoxAnnotationReader(AnnotatedElementFactory annotatedElementFactory)
-
-
Method Detail
-
getAnnotatedElementFactory
public AnnotatedElementFactory getAnnotatedElementFactory()
-
getAnnotatedElement
protected AnnotatedElement getAnnotatedElement(Field field)
-
getAnnotatedElement
protected ParameterizedAnnotatedElement getAnnotatedElement(Method theMethod)
-
getAnnotatedElement
protected AnnotatedElement getAnnotatedElement(Class theClass)
-
getAnnotatedElement
protected AnnotatedElement getAnnotatedElement(Package thePackage)
-
getFieldAnnotation
public <A extends Annotation> A getFieldAnnotation(Class<A> annotation, Field field, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
-
hasFieldAnnotation
public boolean hasFieldAnnotation(Class<? extends Annotation> annotationType, Field field)
-
hasClassAnnotation
public boolean hasClassAnnotation(Class clazz, Class<? extends Annotation> annotationType)
-
getAllFieldAnnotations
public Annotation[] getAllFieldAnnotations(Field field, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
-
getMethodAnnotation
public <A extends Annotation> A getMethodAnnotation(Class<A> annotation, Method method, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
-
hasMethodAnnotation
public boolean hasMethodAnnotation(Class<? extends Annotation> annotation, Method method)
-
getAllMethodAnnotations
public Annotation[] getAllMethodAnnotations(Method method, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
-
getMethodParameterAnnotation
public <A extends Annotation> A getMethodParameterAnnotation(Class<A> annotation, Method method, int paramIndex, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
-
getClassAnnotation
public <A extends Annotation> A getClassAnnotation(Class<A> a, Class clazz, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
-
getClassValue
public Class getClassValue(Annotation a, String name)
-
getClassArrayValue
public Class[] getClassArrayValue(Annotation a, String name)
-
-