public class XJCJavaAnnotationImpl extends java.lang.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(JAnnotationUse annotation,
DynamicClassLoader loader)
Construct a new instance of
XJCJavaAnnotationImpl . |
Modifier and Type | Method and 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() |
public XJCJavaAnnotationImpl(JAnnotationUse annotation, DynamicClassLoader loader)
XJCJavaAnnotationImpl
.annotation
- - the XJC JAnnotationUse
to be wrapped.loader
- - the ClassLoader
used to bootstrap the DynamicJAXBContext
.public java.lang.annotation.Annotation getJavaAnnotation()
Annotation
representation of this JavaAnnotation
.Annotation
representation of this JavaAnnotation
.public java.lang.Class<?> getJavaAnnotationClass()
Class
of the Annotation
represented by this JavaAnnotation
.Class
of this JavaAnnotation's
Annotation
.public java.util.Map<java.lang.Object,java.lang.Object> getComponents()
getComponents
in interface JavaAnnotation
public java.lang.String getName()
getName
in interface JavaAnnotation