Class AnnoxAnnotationReader

java.lang.Object
org.glassfish.jaxb.runtime.v2.model.annotation.AbstractInlineAnnotationReaderImpl<Type,Class,Field,Method>
org.jvnet.basicjaxb_annox.xml.bind.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 Details

    • AnnoxAnnotationReader

      public AnnoxAnnotationReader()
    • AnnoxAnnotationReader

      public AnnoxAnnotationReader(AnnotatedElementFactory annotatedElementFactory)
  • Method Details

    • getAnnotatedElementFactory

      public AnnotatedElementFactory getAnnotatedElementFactory()
    • illegalAnnotationMsg

      protected String illegalAnnotationMsg(AnnotatedElementException aex, String loadMsg)
    • 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)
      Specified by:
      getFieldAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>
    • hasFieldAnnotation

      public boolean hasFieldAnnotation(Class<? extends Annotation> annotationType, Field field)
      Specified by:
      hasFieldAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>
    • hasClassAnnotation

      public boolean hasClassAnnotation(Class clazz, Class<? extends Annotation> annotationType)
      Specified by:
      hasClassAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>
    • getAllFieldAnnotations

      public Annotation[] getAllFieldAnnotations(Field field, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
      Specified by:
      getAllFieldAnnotations in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>
    • getMethodAnnotation

      public <A extends Annotation> A getMethodAnnotation(Class<A> annotation, Method method, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
      Specified by:
      getMethodAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>
    • hasMethodAnnotation

      public boolean hasMethodAnnotation(Class<? extends Annotation> annotation, Method method)
      Specified by:
      hasMethodAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>
    • getAllMethodAnnotations

      public Annotation[] getAllMethodAnnotations(Method method, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
      Specified by:
      getAllMethodAnnotations in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>
    • getMethodParameterAnnotation

      public <A extends Annotation> A getMethodParameterAnnotation(Class<A> annotation, Method method, int paramIndex, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
      Specified by:
      getMethodParameterAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>
    • getClassAnnotation

      public <A extends Annotation> A getClassAnnotation(Class<A> a, Class clazz, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
      Specified by:
      getClassAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>
    • getClassValue

      public Class getClassValue(Annotation a, String name)
      Specified by:
      getClassValue in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>
    • getClassArrayValue

      public Class[] getClassArrayValue(Annotation a, String name)
      Specified by:
      getClassArrayValue in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>
    • fullName

      protected String fullName(Method m)
      Specified by:
      fullName in class org.glassfish.jaxb.runtime.v2.model.annotation.AbstractInlineAnnotationReaderImpl<Type,Class,Field,Method>
    • getPackageAnnotation

      public <A extends Annotation> A getPackageAnnotation(Class<A> a, Class clazz, org.glassfish.jaxb.core.v2.model.annotation.Locatable srcPos)
      Specified by:
      getPackageAnnotation in interface org.glassfish.jaxb.core.v2.model.annotation.AnnotationReader<Type,Class,Field,Method>