public class XJCJavaAnnotationImpl extends Object implements JavaAnnotation
 Purpose: JavaAnnotation implementation wrapping XJC's JAnnotationUse.  Used when
 bootstrapping a DynamicJAXBContext from an XML Schema.
 
Responsibilities:
Annotation information from the underlying JAnnotationUse.JavaAnnotation| Constructor and Description | 
|---|
| XJCJavaAnnotationImpl(com.sun.codemodel.JAnnotationUse annotation,
                     DynamicClassLoader loader)Construct a new instance of  XJCJavaAnnotationImpl. | 
| Modifier and Type | Method and Description | 
|---|---|
| Map<Object,Object> | getComponents()Not supported. | 
| Annotation | getJavaAnnotation()Return a Java  Annotationrepresentation of thisJavaAnnotation. | 
| Class<?> | getJavaAnnotationClass()Return the Java  Classof theAnnotationrepresented by thisJavaAnnotation. | 
| String | getName() | 
public XJCJavaAnnotationImpl(com.sun.codemodel.JAnnotationUse annotation,
                             DynamicClassLoader loader)
XJCJavaAnnotationImpl.annotation - - the XJC JAnnotationUse to be wrapped.loader - - the ClassLoader used to bootstrap the DynamicJAXBContext.public Annotation getJavaAnnotation()
Annotation representation of this JavaAnnotation.Annotation representation of this JavaAnnotation.public Class<?> getJavaAnnotationClass()
Class of the Annotation represented by this JavaAnnotation.Class of this JavaAnnotation's Annotation.public Map<Object,Object> getComponents()
getComponents in interface JavaAnnotationpublic String getName()
getName in interface JavaAnnotationCopyright © 2007–2021 Eclipse.org - EclipseLink Project. All rights reserved.