Class XJCJavaAnnotationImpl

  • All Implemented Interfaces:
    JavaAnnotation

    public class XJCJavaAnnotationImpl
    extends java.lang.Object
    implements JavaAnnotation
    INTERNAL:

    Purpose: JavaAnnotation implementation wrapping XJC's JAnnotationUse. Used when bootstrapping a DynamicJAXBContext from an XML Schema.

    Responsibilities:

    • Provide Annotation information from the underlying JAnnotationUse.
    See Also:
    JavaAnnotation
    Since:
    EclipseLink 2.1
    • Constructor Summary

      Constructors 
      Constructor Description
      XJCJavaAnnotationImpl​(com.sun.codemodel.JAnnotationUse annotation, DynamicClassLoader loader)
      Construct a new instance of XJCJavaAnnotationImpl.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.Map<java.lang.Object,​java.lang.Object> getComponents()
      Not supported.
      java.lang.annotation.Annotation getJavaAnnotation()
      Return a Java Annotation representation of this JavaAnnotation.
      java.lang.Class<?> getJavaAnnotationClass()
      Return the Java Class of the Annotation represented by this JavaAnnotation.
      java.lang.String getName()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • XJCJavaAnnotationImpl

        public XJCJavaAnnotationImpl​(com.sun.codemodel.JAnnotationUse annotation,
                                     DynamicClassLoader loader)
        Construct a new instance of XJCJavaAnnotationImpl.
        Parameters:
        annotation - - the XJC JAnnotationUse to be wrapped.
        loader - - the ClassLoader used to bootstrap the DynamicJAXBContext.
    • Method Detail

      • getJavaAnnotation

        public java.lang.annotation.Annotation getJavaAnnotation()
        Return a Java Annotation representation of this JavaAnnotation.
        Returns:
        a Java Annotation representation of this JavaAnnotation.
      • getJavaAnnotationClass

        public java.lang.Class<?> getJavaAnnotationClass()
        Return the Java Class of the Annotation represented by this JavaAnnotation.
        Returns:
        the Java Class of this JavaAnnotation's Annotation.
      • getComponents

        public java.util.Map<java.lang.Object,​java.lang.Object> getComponents()
        Not supported.
        Specified by:
        getComponents in interface JavaAnnotation